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