Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Flushes events synchronously.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
FSEvents 5.4 Yes No Yes, macOS only No No
MBS( "FSEvents.FlushSync"; FSEventsRef )   More


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


Returns OK or error.


Flushes events synchronously.
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 synchronously -- by the time this call returns, your callback will have been invoked for every event that had already occurred at the time you made this call. FSEvents.FlushSync can only be called after the stream has been started, via FSEvents.Start.


Flush events:

MBS( "FSEvents.FlushSync"; $FSEvents )

See also

Created 18th November 2015, last changed 13th March 2016

FSEvents.FlushASync   -   FSEvents.GetEvaluate

Feedback: Report problem or ask question.

MBS Xojo blog