curli-bus
Version:
Simple Command Bus Implementation (CQRS) for NodeJS/Typescript.
13 lines (12 loc) • 366 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const BaseBusSync_1 = require("./BaseBusSync");
class CommandBusSync extends BaseBusSync_1.BaseBusSync {
constructor() {
super();
}
dispatch(command, options) {
return this.process(command, options);
}
}
exports.CommandBusSync = CommandBusSync;