Interface IPayloadSchemaBlobStore
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
keystringcancellationTokenCancellationToken
Returns
SaveAsync(string, byte[], CancellationToken)
Writes bytes under key (the same content again is harmless).
Task SaveAsync(string key, byte[] bytes, CancellationToken cancellationToken)
Parameters
keystringbytesbyte[]cancellationTokenCancellationToken