Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > NotificationSubscribeResponse

NotificationSubscribeResponse interface

Signature:

export interface NotificationSubscribeResponse 

Properties

PropertyTypeDescription
off(type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => void
on(type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => void
once(type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => voidthis function should only be used to listen for the 'done' event, since the listener would only be called once. or else you could end up having functions leaking (unless you explicitly call the off() function).
  • NotificationSubscribeResponse interface
  • Properties
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage