CoreCryptoCommand
public protocol CoreCryptoCommand : AnyObject, Sendable
A CoreCryptoCommand
has an execute
method which accepts a CoreCryptoContext
and returns nothing.
It is the argument to a CoreCrypto::transaction
call.
-
execute(context:
Asynchronous) Will be called inside a transaction in CoreCrypto
Declaration
Swift
func execute(context: CoreCryptoContext) async throws