G. f. method
Waits for all pending operations on a stream to complete.
wait-for-io-completion file-stream => ()
<stream>.
io
streams
If is asynchronous, waits for all pending write or close operations to complete and signals any queued errors. If file-stream is not asynchronous, returns immediately.