Type alias TypedCallback<T>

TypedCallback<T>: ((err: NatsError | null, msg: T | null) => void)

Type Parameters

  • T

Type declaration

    • (err: NatsError | null, msg: T | null): void
    • Callback presented to the user with the converted type

      Parameters

      Returns void

Generated using TypeDoc