انتقل إلى المحتوى الرئيسي

Interface: Served

Defined in: packages/messaging/src/receiver.ts:153

What a carrier needs of a receiver, independent of the scope types its handlers use, so a bus or a broker server can hold receivers of different modules.

Properties​

module​

readonly module: "identity" | "audit" | "governance" | "trust" | "issuance" | "verification" | "vault" | "signing" | "e-services" | "provisioning"

Defined in: packages/messaging/src/receiver.ts:155

The module served.

Methods​

handle()​

handle(inbound): Promise<ReceiveOutcome>

Defined in: packages/messaging/src/receiver.ts:159

Receives one message. Never throws.

Parameters​

inbound​

Inbound

Returns​

Promise<ReceiveOutcome>


keys()​

keys(): RequestKey[]

Defined in: packages/messaging/src/receiver.ts:157

The request keys it has handlers for.

Returns​

RequestKey[]