---
title: "handle(intent:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inresumeworkoutintenthandling/handle(intent:completion:)"
---

# handle(intent:completion:)

Handles resuming the workout.

## Declaration

```swift
func handle(intent: INResumeWorkoutIntent, completion: @escaping @Sendable (INResumeWorkoutIntentResponse) -> Void)
```

```swift
func handle(intent: INResumeWorkoutIntent) async -> INResumeWorkoutIntentResponse
```

## Parameters

- `intent`: The intent object that contains details about the user’s request. This object’s information has already been resolved and confirmed by the user.
- `completion`: The handler block to execute with your response. You must execute this handler while implementing this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to turn control of resuming the workout to your app. When your response object contains the INResumeWorkoutIntentResponseCode.continueInApp code, SiriKit automatically launches your app and passes it the NSUserActivity object from your response object.
