Type Alias RunQueueEntryResult<T>

RunQueueEntryResult: { details: T; ok: true } | { details: unknown; ok: false }

The result of an entry.

  • Successfully completed entries will have ok: true and the details field will contain the resulting value.
  • Canceled entries will have ok: false and details: CANCELED
  • Unsuccessfully completed entries that haven't been canceled will have ok: false and the details field may contain a caught value

Type Parameters

  • T