pub async fn collect_data<E, S>(stream: S) -> Result<Vec<E>, ClientError>Expand description
Drive a typed stream to completion, collecting every data event.
The shape a unary method wants: menger’s finite calls (list, get,
blockers, …) emit N data items then done, and the caller wants the
Vec. Progress events are discarded; the first error wins.