Skip to content

DEFAULT_CALLBACK_METADATA

reference
1 min readUpdated

Kind: Constant

Source: packages/websockets/context/ws-metadata-constants.ts

Part of: Websockets

Definition

ts
{
  [`${WsParamtype.ACK}:2`]: { index: 2, data: undefined, pipes: [] },
  [`${WsParamtype.PAYLOAD}:1`]: { index: 1, data: undefined, pipes: [] },
  [`${WsParamtype.SOCKET}:0`]: { index: 0, data: undefined, pipes: [] },
}

Value

ts
{
  [`${WsParamtype.ACK}:2`]: { index: 2, data: undefined, pipes: [] },
  [`${WsParamtype.PAYLOAD}:1`]: { index: 1, data: undefined, pipes: [] },
  [`${WsParamtype.SOCKET}:0`]: { index: 0, data: undefined, pipes: [] },
}

Was this page helpful?

Download as PDF
DEFAULT_CALLBACK_METADATA — NestJS head-to-head