watcher
fun watcher(pollDelay: Duration = 5.seconds, channelSize: Int = Channel.UNLIMITED, exceptionHandler: WalletExceptionHandler = RetryExceptionHandler()): Watcher
Content copied to clipboard
Creates new transaction watcher
Return
new transaction watcher
Parameters
poll Delay
poll interval in which requests to the Anchor are being made.
channel Size
size of the Coroutine Channel. See channel documentation for more info about channel size configuration. Be default, unlimited channel is created.
exception Handler
handler for exceptions. By default, RetryExceptionHandler is being used.