Skip to content

DEFAULT_GRPC_CALLBACK_METADATA

reference
1 min readUpdated

Kind: Constant

Source: packages/microservices/context/rpc-metadata-constants.ts

Part of: Microservices

Definition

ts
{
  [`${RpcParamtype.CONTEXT}:1`]: { index: 1, data: undefined, pipes: [] },
  [`${RpcParamtype.GRPC_CALL}:2`]: { index: 2, data: undefined, pipes: [] },
  ...DEFAULT_CALLBACK_METADATA,
}

Value

ts
{
  [`${RpcParamtype.CONTEXT}:1`]: { index: 1, data: undefined, pipes: [] },
  [`${RpcParamtype.GRPC_CALL}:2`]: { index: 2, data: undefined, pipes: [] },
  ...DEFAULT_CALLBACK_METADATA,
}

Was this page helpful?

Download as PDF
DEFAULT_GRPC_CALLBACK_METADATA — NestJS head-to-head