Skip to main content

Function: isInProcess()

isInProcess(caller, key, input?): boolean

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

Whether a call is carried in process: the caller is listed against the key and is hosted by the same principal as the module that serves it.

Parameters​

caller​

Participant

The calling participant.

key​

string

A registry key, or a concrete subject (resolved to its key's shape by its module token, aggregate, verb and version; the tenant may be any).

input?​

HostingInput = ESTATE_HOSTING

Defaults to the real estate.

Returns​

boolean

true only for a listed, co-hosted edge. false means "over the broker if the broker grants it", never "allowed"; an unlisted caller is refused elsewhere.