SodiumSumoIsolateCallback<T> typedef
SodiumSumoIsolateCallback<T> =
FutureOr<T> Function(SodiumSumo sodium, List<SecureKey> secureKeys, List<KeyPair> keyPairs)
A callback to be executed on a separate isolate.
The callback receives a fresh sodium
sumo instance that only lives on the
new isolate, as well as the secureKeys
and keyPairs
that have been
transferred to it via the SodiumSumo.runIsolated method.
Implementation
typedef SodiumSumoIsolateCallback<T> = FutureOr<T> Function(
SodiumSumo sodium,
List<SecureKey> secureKeys,
List<KeyPair> keyPairs,
);