Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INestMicroservice

Interface describing Microservice Context.

publicapi

Hierarchy

Index

Methods

close

  • close(): Promise<void>

enableShutdownHooks

get

  • get<TInput, TResult>(typeOrToken: Type<TInput> | Abstract<TInput> | string | symbol, options?: { strict: boolean }): TResult

init

  • init(): Promise<this>

listen

  • listen(callback: () => void): any

listenAsync

  • listenAsync(): Promise<any>

registerRequestByContextId

  • registerRequestByContextId<T>(request: T, contextId: { id: number }): void

resolve

  • resolve<TInput, TResult>(typeOrToken: Type<TInput> | Abstract<TInput> | string | symbol, contextId?: { id: number }, options?: { strict: boolean }): Promise<TResult>

select

useGlobalFilters

useGlobalGuards

useGlobalInterceptors

useGlobalPipes

useLogger

useWebSocketAdapter

Generated using TypeDoc