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

# handle(intent:completion:)

Handles snoozing a task.

## Declaration

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

```swift
func handle(intent: INSnoozeTasksIntent) async -> INSnoozeTasksIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the user’s request. This object’s information has already been resolved and confirmed by your handler object.
- `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 snooze the task based on the information in the intent parameter, create a response object with the relevant details, and call the provided completion handler.
