---
title: "result(value:dialog:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(value:dialog:)"
---

# result(value:dialog:)

Indicates the AppIntent finished performing

## Declaration

```swift
static func result<Value>(value: Value, dialog: IntentDialog) -> Self where Self == IntentResultContainer<Value, Never, Never, IntentDialog>, Value : _IntentValue
```

## Parameters

- `value`: The value produced by the AppIntent
- `dialog`: A custom success dialog
