---
title: synchronous
framework: ML Compute
role: symbol
role_heading: Type Property
platforms: [iOS 14.0+, iPadOS 14.0+, Mac Catalyst 14.0+, macOS 11.0+, tvOS 14.0+]
path: mlcompute/mlcexecutionoptions/synchronous
---

# synchronous

The option to execute the graph synchronously.

## Declaration

```swift
static var synchronous: MLCExecutionOptions { get }
```

## Discussion

Discussion Include this option to wait until execution of the graph on specified device finishes before returning from the execute method.

## See Also

### Execution Options

- [init(rawValue:)](mlcompute/mlcexecutionoptions/init(rawvalue:).md)
- [skipWritingInputDataToDevice](mlcompute/mlcexecutionoptions/skipwritinginputdatatodevice.md)
- [profiling](mlcompute/mlcexecutionoptions/profiling.md)
- [perLayerProfiling](mlcompute/mlcexecutionoptions/perlayerprofiling.md)
- [forwardForInference](mlcompute/mlcexecutionoptions/forwardforinference.md)
