@usine/core/run
Classes
Section titled “Classes”The work a loop owes one Event. At most one open Run exists per dedup key; the engine’s ledger enforces it (ADR 0002).
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Run(…
args):Run
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”eventId
Section titled “eventId”
readonlyeventId:string&Brand<"EventId">
readonlyid:string&Brand<"RunId">
readonlyloop:string&Brand<"LoopName">
openedAt
Section titled “openedAt”
readonlyopenedAt:Utc
readonlystate:Pending|Waiting|Queued|Running|Succeeded|Failed|Canceled
Type Aliases
Section titled “Type Aliases”RunId = typeof
RunId.Type
Identity of the work owed to one Event, retained across retries of its Step.
Variables
Section titled “Variables”
constRunId:Schema.brand<Schema.NonEmptyString,"RunId">
Identity of the work owed to one Event, retained across retries of its Step.