Class BrokerChannel<T>

Type Parameters

  • T

Hierarchy

  • BrokerChannel

Constructors

Properties

callbacks: ((next: Uint8Array) => void)[] = []
channel: string
client: BrokerClient
decoder: ((bson: Uint8Array) => any)

Type declaration

    • (bson: Uint8Array): any
    • Parameters

      • bson: Uint8Array

      Returns any

listener: number = 0
type: Type
wrapped: boolean = false

Methods

  • Parameters

    • callback: ((next: T) => void)
        • (next: T): void
        • Parameters

          • next: T

          Returns void

    Returns Promise<AsyncSubscription>

Generated using TypeDoc