added ability to give lambda functions to EventType for the eventFilter
and the onEvent(Post) listener