pub fn on(stream: Stream) -> bool