Constructor and Description |
---|
DefaultEventBus(rx.Scheduler scheduler) |
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. |
public rx.Observable<CouchbaseEvent> get()
EventBus
CouchbaseEvent
s.public void publish(CouchbaseEvent event)
EventBus
CouchbaseEvent
into the bus.public boolean hasSubscribers()
EventBus
hasSubscribers
in interface EventBus
Copyright © 2021 Couchbase, Inc.. All rights reserved.