CoreCryptoCancellationTokenProtocol

public protocol CoreCryptoCancellationTokenProtocol : AnyObject, Sendable

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

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

    Declaration

    Swift

    func cancel()