Function flo_binding::bind_stream
source · [−]pub fn bind_stream<S, Value, UpdateFn>(
stream: S,
initial_value: Value,
update: UpdateFn
) -> StreamBinding<Value> where
S: 'static + Send + Stream + Unpin,
Value: 'static + Send + Clone + PartialEq,
UpdateFn: 'static + Send + FnMut(Value, S::Item) -> Value,
S::Item: Send,
Expand description
Uses a stream to update a binding