event_topic_factory(interface_class: Type[T], fn_notify_event: Callable[[maze.core.events.event_record.EventRecord], None])¶
Constructs a proxy instance of the event interface, as required by EventService and LogStatsAggregator.
interface_class – The class object of an abstract interface that defines the events as methods.
fn_notify_event – The proxy forwards all method invocations to fn_notify_event
A proxy object, dynamically derived from the passed interface_class.