diff --git a/Sources/WatcherCore/WatcherCore.swift b/Sources/WatcherCore/WatcherCore.swift index b4a8f4c..ce5a208 100644 --- a/Sources/WatcherCore/WatcherCore.swift +++ b/Sources/WatcherCore/WatcherCore.swift @@ -63,7 +63,7 @@ extension WatcherCore { do { for try await event in EventStreamGenerator .changes(on: paths) - .throttle(for: .seconds(throttleInterval)) { + ._throttle(for: .seconds(throttleInterval)) { await operation(event) } } catch {