Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

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

Open
mannyhappenings opened this issue Aug 23, 2018 · 0 comments

Comments

@mannyhappenings
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant