Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

FSEvents.FlushASync

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

Parameters

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

Result

Returns ID or error.

Description

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

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


FSEvents.EventCount - FSEvents.FlushSync

Feedback: Report problem or ask question.