Closed 50U10FCA7 closed 2 years ago
For optimization purposes result of cqrs::TypedEvent::event_types() should be generates once.
cqrs::TypedEvent::event_types()
There's two ways to do implement this:
cqrs::TypedEventStatic
event_types
cqrs::TypedEvent
For optimization purposes result of
cqrs::TypedEvent::event_types()
should be generates once.There's two ways to do implement this:
cqrs::TypedEventStatic
which provides static version ofevent_types
;cqrs::TypedEvent
to make it static.