@runloop/api-client - v1.29.0
    Preparing search index...

    Type Alias EvictionCallback

    EvictionCallback: (
        devbox: RunloopSDK.Devbox,
        evictionDeadlineMs: number,
    ) => void

    Invoked once when the devbox it was registered for has a pending eviction.

    Type Declaration

      • (devbox: RunloopSDK.Devbox, evictionDeadlineMs: number): void
      • Parameters

        • devbox: RunloopSDK.Devbox

          The devbox with a pending eviction.

        • evictionDeadlineMs: number

          Unix timestamp (ms) by which the devbox will be suspended.

        Returns void