FSEvents.FlushASync
-------------------

Flushes events asynchronously.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FSEvents](component_FSEvents.md) | [5.4](newinversion54.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |

MBS( "FSEvents.FlushASync"; FSEventsRef ) 

**MBS**( **"FSEvents.FlushASync";** /\* Flushes events asynchronously. \*/  
**$FSEventsRef**) /\* The reference number for this FSEvents object.e.g. $fstream \*/ 

### 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](FSEventsStart.md).  
### See also

- [FSEvents.FlushSync](FSEventsFlushSync.md)
- [FSEvents.Start](FSEventsStart.md)

This function is free to use.

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

  
[FSEvents.EventCount](FSEventsEventCount.md) - [FSEvents.FlushSync](FSEventsFlushSync.md)

[HTML Version](FSEventsFlushASync.shtml)