Graphorin API reference v0.8.0
Graphorin API reference / @graphorin/proactive / / SuspendedRunRegistryLike
Interface: SuspendedRunRegistryLike
Defined in: packages/proactive/src/cron-task.ts:193
Structural slice of the server's RunStateTracker the C3 bridge needs - no dependency on @graphorin/server.
Stable
Methods
registerSuspended()
ts
registerSuspended(
runId,
descriptor,
state): void;Defined in: packages/proactive/src/cron-task.ts:194
Parameters
| Parameter | Type |
|---|---|
runId | string |
descriptor | { agentId: string; kind: "agent"; sessionId?: string; userId?: string; } |
descriptor.agentId | string |
descriptor.kind | "agent" |
descriptor.sessionId? | string |
descriptor.userId? | string |
state | unknown |
Returns
void