Skip to main content

EventSink

Type Alias EventSink 

Source
pub type EventSink<'e, E> = RefCell<&'e mut (dyn FnMut(E) + 'e)>;
Expand description

The fused event closure a parent hands to a child, shared by every emitter.

Aliased Typeยง

pub struct EventSink<'e, E> { /* private fields */ }