Synced
Storage.WriteAsync
Section titled “Storage.WriteAsync”
- Atomically replaces a complete value.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Storage
Scope: Runtime
Declaration
Section titled “Declaration”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))Parameters
Section titled “Parameters”Parameter key: The sandbox-relative storage key.
Parameter value: The complete value to commit.
Parameter cancellationToken: Cancellation requested by the caller.
Returns
Section titled “Returns”A task that completes after commit.