Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IClient<T>

Type parameters

  • T = unknown

Hierarchy

  • IClient

Index

Methods

subscribe

  • subscribe(onMessageReceived: (message: IMessage<any, any>, service: T) => Promise<void>): Promise<void>
  • Parameters

    • onMessageReceived: (message: IMessage<any, any>, service: T) => Promise<void>
        • (message: IMessage<any, any>, service: T): Promise<void>
        • Parameters

          • message: IMessage<any, any>
          • service: T

          Returns Promise<void>

    Returns Promise<void>

unsubscribe

  • unsubscribe(): Promise<void>

Generated using TypeDoc