syncAsync

suspend fun <S : FileStream> S.syncAsync(meta: Boolean): S(source)

An asynchronous version of FileStream.sync. If FileStream was not opened using AsyncFs, thus not inheriting its CoroutineContext, then the default AsyncFs.ctx will be used instead.

See also