pub fn stream<X: Into<Y> + 'static, Y: 'static>( stream: impl Stream<Item = X> + Send + 'static, ) -> Task<Y>
Yields a task which will run a stream on the runtime executor.