Trait gloo_worker::oneshot::Oneshot
source · pub trait Oneshot: Future {
type Input;
// Required method
fn create(input: Self::Input) -> Self;
}
Expand description
A future-based worker that for each input, one output is produced.