pub fn cons_event<F, T>(f: F) -> Cons<F, T> where F: FnOnce(&Point<'_>) -> Result<T>,
Construct a new Event computation by the specified function.
Event