subscribeToTransactions

abstract suspend fun subscribeToTransactions(id: String, subscriber: TransactionSubscriber)

Subscribes to be notified of new, updated and deleted Transactions. Subscribing multiple times with the same subscriber id will cause the previous subscriber to be unsubscribed.

Parameters

id

String Unique identifier of the subscriber.

subscriber

TransactionSubscriber Subscriber to notify.