---
title: "process(requests:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/photogrammetrysession/process(requests:)"
---

# process(requests:)

Starts processing of the provided processing requests.  Messages begin to be produced to the output publisher.

## Declaration

```swift
func process(requests: [PhotogrammetrySession.Request]) throws
```

## Mentioned in

Creating 3D objects from photographs

## Discussion

Discussion On the first process()call the data in the input source will be ingested entirely and inputComplete produced on the output stream before any request processing progress will begin. Before inputComplete, warnings about samples will be published, if any. note: If isProcessing another batch still, the session is invalid (an Error was produced on output or if one of the requests is invalid.

## See Also

### Controlling object creation

- [cancel()](realitykit/photogrammetrysession/cancel().md)
