UNPKG
woltage
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.0
A CQRS and Event-Sourcing Framework
github.com/wesone/woltage
wesone/woltage
woltage
/
dist
/
src
/
EventRegistry.d.ts
11 lines
(10 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type
Event
from
'./Event.ts'
;
export
default
class
EventRegistry
{ #
private
;
constructor
(
obj
:
any
,
proto
?:
any
);
get
types
():
string
[];
get
(
event
:
Event
):
Promise
<{
event
:
Event
;
handler
:
Function
|
undefined
; }>; }