Function: injectAgentApprovals()
@roomful/angular / injectAgentApprovals
Function: injectAgentApprovals()
Section titled “Function: 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.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The room presence shape.
Parameters
Section titled “Parameters”options?
Section titled “options?”AgentApprovalOptions
Optional configuration (permission hook).
Returns
Section titled “Returns”The proposals and derived pending signals plus approve/reject/propose.