Skip to content

Session

class Session

Streaming session: push (non-blocking) / pull (blocking) / try_pull (non-blocking) / push_eos. Triple-state contract: Ok / Eof / Again.

Functions

Name Description
wait Blocks until the pipeline drains; returns the first error or Ok.
error_diag Terminal error detail (empty when wait() returned Ok).

Function Details

error_diag

Diag error_diag() const

Terminal error detail (empty when wait() returned Ok).

wait

Status wait()

Blocks until the pipeline drains; returns the first error or Ok.