Type alias Endpoint

Endpoint: {
    handler?: ServiceHandler;
    metadata?: Record<string, string>;
    queue?: string;
    subject: string;

A service Endpoint

Type declaration

  • Optional handler?: ServiceHandler

    An optional handler - if not set the service is an iterator



  • Optional metadata?: Record<string, string>

    Optional metadata about the endpoint

  • Optional queue?: string

    Optional queue group to run this particular endpoint in. The service's configuration queue configuration will be used. See ServiceConfig.

  • subject: string

    Subject where the endpoint listens

Generated using TypeDoc