Skip to main content

Function: hostOf()

hostOf(participant): "gateway" | "gateway-admin" | "audit" | "provisioning" | "bootstrap" | "credential" | "agent-shared"

Defined in: packages/contracts/src/permissions/hosts.ts:41

The deployable that hosts a participant.

Parameters​

participant​

Participant

A module, gateway or bootstrap.

Returns​

"gateway" | "gateway-admin" | "audit" | "provisioning" | "bootstrap" | "credential" | "agent-shared"

Its principal. This is what packages/messaging uses to pick the in-process or the broker adapter for a call.