pub fn ndjson(rx: Receiver<Bytes>) -> Response
The response half of an NDJSON stream; a task writes lines into the sender and stops when sending fails (the client went away).