Synced
Storage.ReadAsync
Section titled “Storage.ReadAsync”
- Reads 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<byte[]?> InnoEngine.Storage.Storage.ReadAsync(InnoEngine.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 absent.