---
title: "CFRunLoopObserverGetOrder(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunloopobservergetorder(_:)"
---

# CFRunLoopObserverGetOrder(_:)

Returns the ordering parameter for a CFRunLoopObserver object.

## Declaration

```swift
func CFRunLoopObserverGetOrder(_ observer: CFRunLoopObserver!) -> CFIndex
```

## Parameters

- `observer`: The run loop observer to examine.

## Return Value

Return Value The ordering parameter for observer. When multiple observers are scheduled in the same run loop mode and stage, this value determines the order (from small to large) in which the observers are called.

## See Also

### CFRunLoopObserver Miscellaneous Functions

- [CFRunLoopObserverCreateWithHandler(_:_:_:_:_:)](corefoundation/cfrunloopobservercreatewithhandler(_:_:_:_:_:).md)
- [CFRunLoopObserverCreate(_:_:_:_:_:_:)](corefoundation/cfrunloopobservercreate(_:_:_:_:_:_:).md)
- [CFRunLoopObserverDoesRepeat(_:)](corefoundation/cfrunloopobserverdoesrepeat(_:).md)
- [CFRunLoopObserverGetActivities(_:)](corefoundation/cfrunloopobservergetactivities(_:).md)
- [CFRunLoopObserverGetContext(_:_:)](corefoundation/cfrunloopobservergetcontext(_:_:).md)
- [CFRunLoopObserverGetTypeID()](corefoundation/cfrunloopobservergettypeid().md)
- [CFRunLoopObserverInvalidate(_:)](corefoundation/cfrunloopobserverinvalidate(_:).md)
- [CFRunLoopObserverIsValid(_:)](corefoundation/cfrunloopobserverisvalid(_:).md)
