UNPKG
@addapptables/microservice
Version:
latest (2.0.1)
2.0.1
2.0.0
1.1.0
1.0.0
1.0.0-0
0.0.3-0
0.0.2-0
0.0.1
0.0.1-0
addapptables microservice
github.com/addapptables/miscellaneous
addapptables/miscellaneous
@addapptables/microservice
/
src
/
utils
/
_test
/
event-handler.ts
10 lines
(6 loc)
•
226 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
import
{
EventHandler
,
IEventHandler
}
from
'../../'
;
import
{
TestEvent
}
from
'./event'
;
@EventHandler
(
TestEvent
)
export
class
TestEventHandler
implements
IEventHandler
<
TestEvent
> {
handle
(
event
:
TestEvent
):
void
{ } }