pub trait Executor: 'static {
type Error;
fn execute<F: Future<Output = ()> + Send + 'static>(
self,
task: F
) -> Result<(), Self::Error>;
}
Expand description
The executor used to run the code which applies log entries to the State
.