pub fn stream_handler_mixin<A, TStream, F, T>(
    input_stream: TStream,
    cb: F
) -> impl FnOnce(DomBuilder<A>) -> DomBuilder<A>where
    A: AsRef<Element>,
    TStream: Stream<Item = T> + Unpin + 'static,
    F: Fn(T) + 'static,