pub async fn open(
store: SharedWorkstreamStore,
params: WorkstreamEventsParams,
) -> Result<RpcStreamItems, RpcError>Expand description
Open one workstream.events stream.
Why/What: see module docs.
§Errors
invalid_params for an id that is not a UUID, and not_found for one that
names no workstream — the 400 and 404 workstream_events_sse answers.
A CLOSED workstream is observable, not an error (DOC-48 §4.4).
Test: crate::serve::uds_tests::workstream_events_refuses_an_unknown_id.