---
title: MPSGraphCompilationCompletionHandler
framework: metalperformanceshadersgraph
role: symbol
role_heading: Type Alias
path: metalperformanceshadersgraph/mpsgraphcompilationcompletionhandler
---

# MPSGraphCompilationCompletionHandler

A notification that appears when compilation finishes.

## Declaration

```swift
typealias MPSGraphCompilationCompletionHandler = (MPSGraphExecutable, (any Error)?) -> Void
```

## Parameters

- `executable`: If no error, the executable produced by the compilation.
- `error`: If an error occurs, more information might be found here.
