redis-smq-common
Version:
RedisSMQ Common Library provides many components that are mainly used by RedisSMQ and RedisSMQ Monitor.
5 lines • 429 B
TypeScript
import { ICallback } from '../async/index.js';
import { EventBusRedisFactory } from './event-bus-redis-factory.js';
import { IEventBus, TEventBusEvent } from './types/index.js';
export declare function withEventBus<S extends TEventBusEvent, T>(eventBusRedisFactory: EventBusRedisFactory<S>, operation: (eventBus: IEventBus<S>, cb: ICallback<T>) => void, callback: ICallback<T>): void;
//# sourceMappingURL=with-event-bus.d.ts.map