Skip to content

Function: injectAgentApprovals()

@roomful/angular


@roomful/angular / injectAgentApprovals

injectAgentApprovals<TPresence>(options?): InjectAgentApprovalsResult

Defined in: angular/src/index.ts:1158

Subscribes to the room’s agent-approval workflow: agents propose actions and humans approve/reject them, with every peer seeing the synced proposal list. Returns a reactive proposals signal (newest first) plus a derived pending signal and the decision actions.

Must be called in an injection context.

TPresence extends PresenceData = PresenceData

The room presence shape.

AgentApprovalOptions

Optional configuration (permission hook).

InjectAgentApprovalsResult

The proposals and derived pending signals plus approve/reject/propose.