deepstream.io-client-java icon indicating copy to clipboard operation
deepstream.io-client-java copied to clipboard

Don't know if subscribed to event with DeepstreamClient.event.subscribe

Open mannyhappenings opened this issue 7 years ago • 0 comments

DeepstreamClient.event.subscribe() takes eventName and listener to event but doesn't take subscription callback, i.e., I don't know if after calling this function I will receive events or not.

Or is it that this function will return only after subscription.

I can see the line "Subscribes to eventName and notifies the listener via EventListener whenever it occurs locally or remotely." on page but not sure how to use it to check subscription on client side.

mannyhappenings avatar Aug 23 '18 17:08 mannyhappenings