---
title: operations
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/operationqueue/operations
---

# operations

The operations currently in the queue.

## Declaration

```swift
var operations: [Operation] { get }
```

## Discussion

Discussion The array in this property contains zero or more Operation objects in the order you added them to the queue. This order doesn’t necessarily reflect the order in which the queue invokes those operations. You can use this property to access the operations queued at any given moment. Operations remain queued until they finish their task. Therefore, the array may contain operations that are currently running or waiting to run. The list may also contain operations that were running when you retrieved the array but have subsequently finished. You can monitor changes to the value of this property using Key-value observing (KVO). Configure an observer to monitor the operations key path of the operation queue.

## See Also

### Managing Operations in the Queue

- [addOperation(_:)](foundation/operationqueue/addoperation(_:)-64o8a.md)
- [addOperations(_:waitUntilFinished:)](foundation/operationqueue/addoperations(_:waituntilfinished:).md)
- [addOperation(_:)](foundation/operationqueue/addoperation(_:)-5s294.md)
- [addBarrierBlock(_:)](foundation/operationqueue/addbarrierblock(_:).md)
- [cancelAllOperations()](foundation/operationqueue/cancelalloperations().md)
- [waitUntilAllOperationsAreFinished()](foundation/operationqueue/waituntilalloperationsarefinished().md)
- [operationCount](foundation/operationqueue/operationcount.md)
