Expand description
A task that listens for new blocks
Re-exportsยง
use crate::shutdown::Shutdown;๐use futures::FutureExt;๐use futures::Stream;๐use futures::StreamExt;๐use std::pin::Pin;๐use std::task::Context;๐use std::task::Poll;๐
Structsยง
- Block
Listener - A future that executes a given
taskfor the latest block available on the stream.