Functional Generator
Pass a FunctionalGenerator when creating GlobalContext to add a context entity to every event, where the entity can contain properties from the event.
Pass a FunctionalGenerator when creating GlobalContext to add a context entity to every event, where the entity can contain properties from the event.