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(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

constructor()

Create a new CoreCryptoCancellationToken.

Types

Link copied to clipboard
object Companion

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()
Link copied to clipboard
fun uniffiClonePointer(): Pointer