---
title: isExecuting
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/operation/isexecuting
---

# isExecuting

A Boolean value indicating whether the operation is currently executing.

## Declaration

```swift
var isExecuting: Bool { get }
```

## Discussion

Discussion The value of this property is true if the operation is currently executing its main task or false if it is not. When implementing a concurrent operation object, you must override the implementation of this property so that you can return the execution state of your operation. In your custom implementation, you must generate KVO notifications for the isExecuting key path whenever the execution state of your operation object changes. For more information about manually generating KVO notifications, see Key-Value Observing Programming Guide. You do not need to reimplement this property for nonconcurrent operations.

## See Also

### Getting the Operation Status

- [isCancelled](foundation/operation/iscancelled.md)
- [isFinished](foundation/operation/isfinished.md)
- [isConcurrent](foundation/operation/isconcurrent.md)
- [isAsynchronous](foundation/operation/isasynchronous.md)
- [isReady](foundation/operation/isready.md)
- [name](foundation/operation/name.md)
