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

# FSEventStreamUnscheduleFromRunLoop(_:_:_:)

## Declaration

```swift
func FSEventStreamUnscheduleFromRunLoop(_ streamRef: FSEventStreamRef, _ runLoop: CFRunLoop, _ runLoopMode: CFString)
```

## Parameters

- `streamRef`: A valid stream.
- `runLoop`: The run loop from which to unschedule the stream.
- `runLoopMode`: The run loop mode from which to unschedule the stream.

## Discussion

Discussion This function removes the stream from the specified run loop, like CFRunLoopRemoveSource() does for a CFRunLoopSourceRef.
