redis-smq-common
Version:
RedisSMQ Common Library provides many components that are mainly used by RedisSMQ and RedisSMQ Monitor.
10 lines • 528 B
TypeScript
import { ICallback } from '../async/index.js';
import { ILogger } from '../logger/index.js';
import { EWorkerType, IWorkerCallable } from './types/index.js';
import { Worker } from './worker.js';
export declare class WorkerCallable<Payload, Reply> extends Worker<Payload, Reply> implements IWorkerCallable<Payload, Reply> {
protected readonly type: EWorkerType;
constructor(workerFilename: string, logger?: ILogger);
call(payload: Payload, cb: ICallback<Reply>): void;
}
//# sourceMappingURL=worker-callable.d.ts.map