Skip to main content

Crate chromiumoxide_event_stream

Crate chromiumoxide_event_stream 

Source

Structs§

Event
EventStreamConfig

Enums§

Error
EventResult

Functions§

start_event_stream
Start a background task that polls for captured events and streams them over a mpsc channel. Returns the receiver; the task ends when the Page errors or the sender is dropped.
wait_for_event_with_timeout
Wait for the next event from the receiver with a timeout. Returns Ok(Some(event)) if an event is received, Ok(None) if the stream is closed, or Err(()) if the timeout expires before an event is received.