TicketUpdate
TicketUpdate = {
type:"queued"; } | {type:"retrying";attempt:number;delayMs:number; } | {type:"done";result:Result<unknown>; } | {type:"cancelled"; }
Defined in: src/ticket/ticket.ts:13
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ type: "queued"; }
Type Literal
Section titled “Type Literal”{ type: "retrying"; attempt: number; delayMs: number; }
delayMs is the backoff, or the rest of a Retry-After pause when that is longer.
Type Literal
Section titled “Type Literal”{ type: "done"; result: Result<unknown>; }
Type Literal
Section titled “Type Literal”{ type: "cancelled"; }
