---
title: MPSGraphExecutableCompletionHandler
framework: metalperformanceshadersgraph
role: symbol
role_heading: Type Alias
path: metalperformanceshadersgraph/mpsgraphexecutablecompletionhandler
---

# MPSGraphExecutableCompletionHandler

A notification when graph executable execution finishes.

## Declaration

```swift
typealias MPSGraphExecutableCompletionHandler = ([MPSGraphTensorData], (any Error)?) -> Void
```

## Parameters

- `results`: If no error, the results produced by the graph operation. If Graph hasn’t yet allocated the results, this will be NSNull.
- `error`: If an error occurs, more information might be found here.
