UNPKG

acelga-bus

Version:

An extensible typescript message bus with support for middlewares

12 lines (9 loc) 312 B
import {EventProcessingLogic} from '../../../../src/corebus/interfaces'; export class EventProcessorMock implements EventProcessingLogic<any, any> { public addEventType(event: any, factory: any): void { return; } public async processEvents(events: any[]): Promise<void> { return Promise.resolve(); } }