Skip to main content

new_emitter_object

Function new_emitter_object 

Source
pub fn new_emitter_object(tag: &str, extra: IndexMap<String, Value>) -> Value
Expand description

Build a native emitter object (@@native tag + @@on/@@once maps + extras), sharing the EventEmitter shape with events/net.