Table of Contents

Interface IPayloadSchemaBlobStore

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

A schema's bytes, raw: opaque by nature, so not a JSON record (common#33, the state exception).

public interface IPayloadSchemaBlobStore

Methods

GetAsync(string, CancellationToken)

The bytes under key; null when absent.

Task<byte[]?> GetAsync(string key, CancellationToken cancellationToken)

Parameters

key string
cancellationToken CancellationToken

Returns

Task<byte[]>

SaveAsync(string, byte[], CancellationToken)

Writes bytes under key (the same content again is harmless).

Task SaveAsync(string key, byte[] bytes, CancellationToken cancellationToken)

Parameters

key string
bytes byte[]
cancellationToken CancellationToken

Returns

Task