Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Atomically replaces a complete value.

API: scripting
Project: Inno.Storage
Scope: Runtime

public static System.Threading.Tasks.ValueTask InnoEngine.Storage.Storage.WriteAsync(InnoEngine.Storage.StorageKey key, System.ReadOnlyMemory<byte> value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Parameter key: The sandbox-relative storage key.

Parameter value: The complete value to commit.

Parameter cancellationToken: Cancellation requested by the caller.

A task that completes after commit.