Skip to content

Graphorin API reference v0.8.0


Graphorin API reference / @graphorin/channels / / createChannelGateway

Function: createChannelGateway()

ts
function createChannelGateway(options): ChannelGateway;

Defined in: packages/channels/src/gateway.ts:176

Build the gateway. Throws ChannelGatewayConfigError on an empty adapter list or duplicate adapter ids - fail-closed at construction.

Parameters

ParameterType
optionsChannelGatewayOptions

Returns

ChannelGateway

Stable