Interface FlowProducerListener

interface FlowProducerListener {
    error: ((failedReason) => void);
    ioredis:close: (() => void);
}

Hierarchy (view full)

Properties

Properties

error: ((failedReason) => void)

Type declaration

    • (failedReason): void
    • Listen to 'error' event.

      This event is triggered when an error is throw.

      Parameters

      • failedReason: Error

      Returns void

ioredis:close: (() => void)

Type declaration

    • (): void
    • Listen to 'ioredis:close' event.

      This event is triggered when ioredis is closed.

      Returns void

Generated using TypeDoc