@squidcloud/client
    Preparing search index...

    Class NotificationClient

    NotificationClient is a client for handling user-defined notifications. Using this class you can receive messages that are sent from the server to this client or publish messages to other clients. In order to publish a message you have to initialize the squid sdk with a valid api key.

    Index

    Methods

    • Observes user-defined notifications.

      Returns Observable<unknown>

    • Publishes a notification to clients.

      Parameters

      • payload: unknown
      • clientIds: string[]

      Returns Promise<void>