Synced
StorageRuntime.ReadAsync
Section titled “StorageRuntime.ReadAsync”
- Reads a complete immutable value.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Storage.Runtime
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask<byte[]?> Inno.Storage.Runtime.StorageRuntime.ReadAsync(Inno.Storage.StorageKey key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter key: The sandbox-relative storage key.
Parameter cancellationToken: Cancellation requested by the caller.
Returns
Section titled “Returns”The stored bytes, or null when the key does not exist.