Skip to main content

Events

Type Alias Events 

Source
pub type Events = Arc<dyn Fn(&Caller, u64) -> Result<StreamFn> + Send + Sync>;
Expand description

The body of GET /api/v1/events: a stream of server-sent events for this caller, starting after since (from ?since= or Last-Event-ID).

Aliased Typeยง

pub struct Events { /* private fields */ }