# FSEventsWrapper **Repository Path**: bugtree/FSEventsWrapper ## Basic Information - **Project Name**: FSEventsWrapper - **Description**: https://github.com/Frizlab/FSEventsWrapper.git - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-07 - **Last Updated**: 2025-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README = FSEventsWrapper François Lamboley A wrapper around FSEvents raw C APIs. == Installation Use SPM. == How to Use? [code,swift] ---- /* Using a standard callback. */ let w = FSEventStream(path: "awesome/path", callback: { stream, event in NSLog("%@", String(describing: event)) }) w?.startWatching() /* Or with an AsyncStream. */ Task{ for await event in FSEventAsyncStream(path: "awesome/path") { print(event) } } ----