Skip to content
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was 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

@mannyhappenings

Description

@mannyhappenings

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions