Type Alias: ControlPlaneClient
Generated from SDK v1 (protocol 1) at source revision
97c6bb1. Never edit by hand; runnpm run generate:reference.
Type Alias: ControlPlaneClient
Section titled “Type Alias: ControlPlaneClient”ControlPlaneClient =
Readonly<{answerInteraction: (interactionId,answer) =>Promise<ControlPlaneAnswerResult>;artifacts: (workItemId) =>Promise<readonlyControlPlaneArtifact[]>;board: () =>Promise<readonlyControlPlaneBoardItem[]>;command: (command) =>Promise<ControlPlaneCommandResult>;contract: () =>Promise<ControlPlaneContract>;events: (afterSequence?) =>Promise<readonlyControlPlaneEvent[]>;openInteractions: () =>Promise<readonlyControlPlaneInteraction[]>;revisions: () =>Promise<readonlyControlPlaneRevision[]>;subscribeEvents: (afterSequence,onEvent) => () =>void;task: (workItemId) =>Promise<ControlPlaneTask>; }>
Defined in: sdk/client.ts:105