Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Flushes events asynchronously.

Component Version macOS Windows Linux Server iOS SDK
FSEvents 5.4 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "FSEvents.FlushASync"; FSEventsRef )   More


Parameter Description Example
FSEventsRef The reference number for this FSEvents object. $fstream


Returns ID or error.


Flushes events asynchronously.
Asks the FS Events service to flush out any events that have occurred but have not yet been delivered, due to the latency parameter that was supplied when the stream was created. This flushing occurs asynchronously -- do not expect the events to have already been delivered by the time this call returns. FSEvents.FlushAsync can only be called after the stream has been started, via FSEvents.Start.

See also

This function is free to use.

Created 18th November 2015, last changed 19th November 2015

FSEvents.EventCount - FSEvents.FlushSync