pub fn discard_future() -> Result<()>
Discard future events that are scheduled
This will clear recorded events and logs
Global Context