yr.ManagedSessionObj.wait_for_notify#
- ManagedSessionObj.wait_for_notify(timeout_ms: int) Dict[str, Any] | None[source]#
Block until notify arrives for this session or timeout.
Mirrors ManagedSessionObj.waitForNotify / CLibruntime::SessionWait. On timeout (ERR_SESSION_TIMEOUT), returns None (same as JNI null result).
- Parameters:
timeout_ms – wait timeout in milliseconds; -1 means wait indefinitely
- Returns:
parsed JSON object as dict, or None on timeout
- Raises:
RuntimeError – on interrupt or other native errors