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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

FSEvents.HasNextEvent

Checks if there is a pending event in the queue.

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

Parameters

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

Result

Returns 0 or 1 or error.

Description

Checks if there is a pending event in the queue.
Returns 1 if there is an event in the queue or zero if no event is there.

See also

Example Databases

This function checks for a license.

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


FSEvents.GetScriptName - FSEvents.LastEventIdForDeviceBeforeTime

💬 Ask a question or report a problem