CoreCryptoCancellationToken

open class CoreCryptoCancellationToken : CoreCryptoCancellationTokenProtocol, @unchecked Sendable

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

  • Create a new CoreCryptoCancellationToken.

    Declaration

    Swift

    public convenience init()
  • Cancel the token and resolve all futures waiting for its cancellation.

    Declaration

    Swift

    open func cancel()