---
title: "resolveNextTriggerTime(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insnoozetasksintenthandling/resolvenexttriggertime(for:with:)"
---

# resolveNextTriggerTime(for:with:)

Resolves the trigger of when to snooze tasks.

## Declaration

```swift
optional func resolveNextTriggerTime(for intent: INSnoozeTasksIntent, with completion: @escaping @Sendable (INDateComponentsRangeResolutionResult) -> Void)
```

```swift
optional func resolveNextTriggerTime(for intent: INSnoozeTasksIntent) async -> INDateComponentsRangeResolutionResult
```

## Parameters

- `intent`: The intent object that contains details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. 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 resolve when tasks should begin to snooze. Use the intent object to obtain information about the tasks to be snoozed. Use the information in the INTask object to look up the corresponding task information in your app’s data structures. Return a resolution that includes as much information as you have available about the task.

## See Also

### Resolving Details of the Intent

- [resolveTasks(for:with:)](intents/insnoozetasksintenthandling/resolvetasks(for:with:).md)
