Skip to content

ack

Read the server acknowledgement after entering the subscription context. Accessing it before __enter__ raises RuntimeError.

Return the server acknowledgement after entering the context.

Example
with client.subscribe([{"event": "pane.output"}]) as stream:
    print(stream.ack["result"])