Skip to main content

ApprovalRequester

@forge/monorepo


@forge/monorepo / backend/src / ApprovalRequester

Interface: ApprovalRequester

Defined in: backend/src/hitl/approved-execution.ts:63

Just the part of the approval service this needs, so a host can substitute its own.

Methods

request()

request(context, runId, request): Promise<PendingApproval>

Defined in: backend/src/hitl/approved-execution.ts:64

Parameters

context

ExecutionContext

runId

RunId

request

ApprovalRequest

Returns

Promise<PendingApproval>