Type alias JsMsgCallback

JsMsgCallback: ((err: NatsError | null, msg: JsMsg | null) => void)

Type declaration

    • (err: NatsError | null, msg: JsMsg | null): void
    • The signature a message handler for a JetStream subscription.

      Parameters

      Returns void

Generated using TypeDoc