---
title: "FSEventStreamStop(_:)"
framework: Core Services
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.1+, macOS 10.5+]
path: coreservices/1447673-fseventstreamstop
---

# FSEventStreamStop(_:)

## Declaration

```swift
func FSEventStreamStop(_ streamRef: FSEventStreamRef)
```

## Parameters

- `streamRef`: A valid stream.

## Discussion

Discussion Unregisters with the FS Events service. The client callback will not be called for this stream while it is stopped. FSEventStreamStop() can only be called if the stream has been started, via FSEventStreamStart(). Once stopped, the stream can be restarted via FSEventStreamStart(), at which point it will resume receiving events from where it left off ("sinceWhen").
