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


Queries latest Event ID for this stream.

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


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


Returns ID or error.


Queries latest Event ID for this stream.
Fetches the sinceWhen property of the stream. Upon receiving an event (and just before invoking the client's callback) this attribute is updated to the highest-numbered event ID mentioned in the event.


Query last event ID:

MBS( "FSEvents.LatestEventId"; $FSE )

See also

This function checks for a license.

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

FSEvents.LastEventIdForDeviceBeforeTime - FSEvents.List