Type alias RunQueueEntryResult<T>

RunQueueEntryResult<T>: {
    details: T;
    ok: true;
} | {
    details: any;
    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

Type declaration

  • details: T
  • ok: true

Type declaration

  • details: any
  • ok: false

Generated using TypeDoc