@spacehq/sdk > NotificationSubscribeResponse
NotificationSubscribeResponse interface
Signature:
export interface NotificationSubscribeResponse
Properties
Property | Type | Description |
---|---|---|
off | (type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => void | |
on | (type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => void | |
once | (type: NotificationSubscribeEventType, listener: NotificationSubscribeListener) => void | this 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). |