---
title: "init(completionHandler:)"
framework: vision
role: symbol
role_heading: Initializer
path: "vision/vnrequest/init(completionhandler:)"
---

# init(completionHandler:)

Creates a new Vision request with an optional completion handler.

## Declaration

```swift
init(completionHandler: VNRequestCompletionHandler? = nil)
```

## Parameters

- `completionHandler`: The block to invoke after the request finishes processing.

## Discussion

Discussion Vision executes the completion handler on the same queue that it executes the request; however, this queue differs from the one where you called perform(_:).

## See Also

### Initializing a Request

- [init()](vision/vnrequest/init().md)
