Table of Contents

Method LoadAsync

Namespace
RinhaBackend
Assembly
Api.dll

LoadAsync(string, CancellationToken)

Loads the reference store from dataDir. Prefers the binary cache (references.bin); falls back to references.json.gz and writes the cache on first use.

public static Task<ReferenceDataStore> LoadAsync(string dataDir, CancellationToken ct = default)

Parameters

dataDir string
ct CancellationToken

Returns

Task<ReferenceDataStore>