Skip to content

API reference / @chanx-js/codegen / emitChannels

Function: emitChannels() ​

ts
function emitChannels(
   connections, 
   messageNames, 
   options
): string;

Defined in: emit-channels.ts:79

The descriptor values. Valid TypeScript or JavaScript depending on target.

Parameters ​

ParameterType
connectionsConnectionInfo[]
messageNamesstring[]
optionsChannelEmitOptions

Returns ​

string

MIT licensed