Struct yew_event_source::EventSourceTask [−][src]
pub struct EventSourceTask { /* fields omitted */ }Expand description
A handle to control current event source connection. Implements Task and could be canceled.
Implementations
Register a callback for events of a given type
This registers an event listener, which will fire callback when an
event of event_type occurs.
Query the ready state of the event source.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for EventSourceTaskimpl !Send for EventSourceTaskimpl !Sync for EventSourceTaskimpl Unpin for EventSourceTaskimpl !UnwindSafe for EventSourceTask