You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declares a pull-mode subscriber, which will receive a single published sample with a key expression intersecting ``keyexpr`` any time its ``pull`` method is called.
348
-
349
-
These samples are passed to the `handler`'s closure as instances of the `Sample` class.
350
-
The `handler` can typically be a queue or a callback.
351
-
The `handler`'s receiver is returned as the `receiver` field of the returned `PullSubscriber`.
352
-
353
-
:param keyexpr: The key expression to subscribe to
354
-
:param handler:
355
-
:param reliability: the reliability to use when routing the subscribed samples
356
-
:rtype: PullSubscriber
357
-
358
-
:Examples:
359
-
360
-
>>> import zenoh
361
-
>>> s = zenoh.open({})
362
-
>>> sub = s.declare_pull_subscriber('key/expression', lambda sample:
0 commit comments