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

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