pub async fn decode_event_future<D, S>(stream: &mut S) -> Result<Result<Event>>where D: DeserializeOwned, S: Read + Unpin,
Decode a response into an Event