public interface EventBus
Modifier and Type | Method and Description |
---|---|
rx.Observable<CouchbaseEvent> |
get()
Subscribe to the event bus to retrieve
CouchbaseEvent s. |
boolean |
hasSubscribers()
Checks if the event bus has subscribers.
|
void |
publish(CouchbaseEvent event)
Publish a
CouchbaseEvent into the bus. |
rx.Observable<CouchbaseEvent> get()
CouchbaseEvent
s.void publish(CouchbaseEvent event)
CouchbaseEvent
into the bus.event
- the event to publish.boolean hasSubscribers()
Copyright © 2021 Couchbase, Inc.. All rights reserved.