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