issueAgentRequest()
Checks whether a value is an issue agent request.
Import
Section titled “Import”import { issueAgentRequest } from "@graphrefly/ts/orchestration";Signature
Section titled “Signature”function issueAgentRequest( proposal: AgentRequestProposal, admission: AgentRequestAdmitted, opts: { readonly issuedAtMs?: number; readonly sourceRefs?: readonly SourceRef[] } = {},): AgentRequestIssuedParameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
proposal | AgentRequestProposal | Proposal to admit, issue, or project. |
admission | AgentRequestAdmitted | Admission decision paired with the proposal. |
opts | { readonly issuedAtMs?: number; readonly sourceRefs?: readonly SourceRef[] } | Options that configure the helper. |
Returns
Section titled “Returns”true when the value matches the expected shape.
Example
Section titled “Example”import { issueAgentRequest } from "@graphrefly/ts/orchestration";Source
Section titled “Source”packages/ts/src/orchestration/agent-runtime-request-ledger.ts