keyExpr property

String get keyExpr

The key expression this advanced subscriber is declared on.

The declared expression as the caller gave it, whether that was a String or a KeyExpr — both entry forms of the union reach the same value.

Dart-side state, so it survives close and the session's own close. That is deliberate and matches Subscriber, PullSubscriber, Queryable and LivelinessToken: reading back what you declared is not an operation on the native handle, so there is nothing for a disposed-handle guard to protect.

Canon's own ze_advanced_subscriber_keyexpr native read is deliberately left unbound: binding it would ship a second key-expression contract on one class and buy nothing this getter does not already give.

Implementation

String get keyExpr => _keyExpr;