https://docs.microsoft.com/en-us/dotnet/api/system.text.json.utf8jsonwriter.flushasync?view=net-9.0
Utf8JsonWriter.FlushAsync(CancellationToken) Method (System.Text.Json) | Microsoft Learn
Asynchronously commits the JSON text written so far, which makes it visible to the output destination.
cancellationtokenmethodsystemtextjson
https://documentation.noemax.com/fi/net/Noemax.FastInfoset.Net4~Noemax.FastInfoset.VocabularyWriter~FlushAsync.html
FlushAsync Method (VocabularyWriter)
method
https://mongodb.github.io/mongo-csharp-driver/2.14/apidocs/html/Overload_MongoDB_Driver_GridFS_DelegatingStream_FlushAsync.htm
DelegatingStream.FlushAsync Method
method