---
title: current
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/operationqueue/current
---

# current

Returns the operation queue that launched the current operation.

## Declaration

```swift
class var current: OperationQueue? { get }
```

## Return Value

Return Value The operation queue that started the operation or nil if the queue could not be determined.

## Discussion

Discussion You can use this method from within a running operation object to get a reference to the operation queue that started it. Calling this method from outside the context of a running operation typically results in nil being returned.

## See Also

### Related Documentation

- [Concurrency Programming Guide](apple-archive/documentation/General/Conceptual/ConcurrencyProgrammingGuide/Introduction.md)

### Accessing Specific Operation Queues

- [main](foundation/operationqueue/main.md)
