send

Function send 

Source
pub fn send<T: Into<Vec<u8>> + Send + 'static, E: ErrorType>(
    data: T,
) -> impl BehaviourFunction<E>
Expand description

Returns a [BehaviourFuntion] which sends the provided data, and then yields.