---
title: "handle(getAvailableRestaurantReservationBookingDefaults:completion:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/ingetavailablerestaurantreservationbookingdefaultsintenthandling/handle(getavailablerestaurantreservationbookingdefaults:completion:)"
---

# handle(getAvailableRestaurantReservationBookingDefaults:completion:)

Handles returning the default values to use when pre-fetching reservations.

## Declaration

```swift
func handle(getAvailableRestaurantReservationBookingDefaults intent: INGetAvailableRestaurantReservationBookingDefaultsIntent, completion: @escaping @Sendable (INGetAvailableRestaurantReservationBookingDefaultsIntentResponse) -> Void)
```

```swift
func handle(getAvailableRestaurantReservationBookingDefaults intent: INGetAvailableRestaurantReservationBookingDefaultsIntent) async -> INGetAvailableRestaurantReservationBookingDefaultsIntentResponse
```

## Parameters

- `intent`: The intent object containing details about the request. The information in this object has already been resolved and confirmed.
- `completion`: The handler block to execute with your response. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Your implementation of this method should construct a response object containing the default values to use. Use the information in the intent parameter to fetch any restaurant-specific information. When done, execute the provided block with your response object.
