CoreCryptoCancellationToken

Use this to cancel a CoreCrypto transaction and running foreign callbacks. Should be used in the Swift wrapper only.

Constructors

Link copied to clipboard
constructor()

Create a new CoreCryptoCancellationToken.

Properties

Link copied to clipboard

Whether the current object has been destroyed and its reference is gone in the Rust side.

Functions

Link copied to clipboard
open override fun cancel()

Cancel the token and resolve all futures waiting for its cancellation.

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()