- Companion
- object
Value members
Inherited methods
Gets elements satisfying the selector
, yielding when such an element is available.
Gets elements satisfying the selector
, yielding when such an element is available.
- Value Params
- selector
selector describing which
A
to receive
- Inherited from
- Subscribe
A variant of get
, that instead of returning one element will return multiple elements
in form of stream.
A variant of get
, that instead of returning one element will return multiple elements
in form of stream.
- Value Params
- selector
selector describing which
A
to receive
- Inherited from
- Subscribe
Publishes one element. This completes after element was successfully published.
Publishes one element. This completes after element was successfully published.
- Inherited from
- Publish
Creates a subscription for the supplied selector. If the subscription is not supported or not successful, this yields to false.
Creates a subscription for the supplied selector. If the subscription is not supported or not successful, this yields to false.
- Value Params
- selector
selector describing which
A
to receive
- Inherited from
- Subscribe
Like get
, but instead of semantically blocking for a matching element, returns immediately
with None
if such an element is not available.
Like get
, but instead of semantically blocking for a matching element, returns immediately
with None
if such an element is not available.
- Value Params
- selector
selector describing which
A
to receive
- Inherited from
- Subscribe
Tries to publish one element.
Tries to publish one element.
Evaluates to false
if element was not published.
Evaluates to true
if element was published successfully.
- Inherited from
- Publish
Cancels a subscription previously registered with subscribe. Must be invoked if the subscriber will no longer consume elements.
Cancels a subscription previously registered with subscribe. Must be invoked if the subscriber will no longer consume elements.
- Value Params
- selector
selector to unsubscribe
- Inherited from
- Subscribe