pub fn emit_event<E, Event>(event: Event) where
    E: Environment,
    Event: Topics + Encode, 
Expand description

Emits an event with the given event data.