Skip to content

FileStream.FlushAsync(true), can it exist? #62555

Answered by svick
jhudsoncedaron asked this question in Ideas
Discussion options

You must be logged in to vote

This was previously discussed at #28444, where @stephentoub said:

And as to my knowledge there's no asynchronous equivalent at the OS level exposed for flushToDisk==true, I wouldn't want to expose a FlushAsync(true)… if a developer wants to Task.Run(() => Flush(true)), they can do so.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jhudsoncedaron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants