@codescouts/events
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -7,4 +7,5 @@ import { DomainEvent } from "./DomainEvent"; | ||
constructor(eventClassReference: Newly<E>); | ||
dispose(): void; | ||
protected abstract handle(event: E): void | Promise<void>; | ||
} | ||
//# sourceMappingURL=Handler.d.ts.map |
@@ -12,2 +12,5 @@ "use strict"; | ||
} | ||
Handler.prototype.dispose = function () { | ||
DomainEvents_1.DomainEvents.remove(this.handle.bind(this)); | ||
}; | ||
return Handler; | ||
@@ -14,0 +17,0 @@ }()); |
{ | ||
"name": "@codescouts/events", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
15267
183