Type Alias zng_var::ResponderVar
source · pub type ResponderVar<T> = ArcVar<Response<T>>;
Expand description
Variable used to notify the completion of an async operation.
Use response_var
to init.
Aliased Type§
struct ResponderVar<T>(/* private fields */);
Implementations§
source§impl<T: VarValue> ResponderVar<T>
impl<T: VarValue> ResponderVar<T>
sourcepub fn response_var(&self) -> ResponseVar<T>
pub fn response_var(&self) -> ResponseVar<T>
Creates a ResponseVar
linked to this responder.