Table of Contents

Method GetSchemaAsync

Namespace
AvroSharp.Messages
Assembly
AvroSharp.dll

GetSchemaAsync(AvroSchemaId, CancellationToken)

Gets the schema with the given ID, fetching it if needed; null when it does not exist.

public ValueTask<AvroSchema?> GetSchemaAsync(AvroSchemaId id, CancellationToken cancellationToken = default)

Parameters

id AvroSchemaId

The schema ID.

cancellationToken CancellationToken

Cancels the fetch.

Returns

ValueTask<AvroSchema>