Method ReadGenerationsAsync
- Namespace
- MailFathom.Application.Emails.Embeddings.Generations
- Assembly
- MailFathom.Application.dll
ReadGenerationsAsync(CancellationToken)
Reads which generation serves retrieval and which one, if any, is being built.
Task<EmbeddingGenerations> ReadGenerationsAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<EmbeddingGenerations>
Both generations, either of which may be absent.