---
title: "result(opensIntent:view:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(opensintent:view:)-5hm2s"
---

# result(opensIntent:view:)

Indicates the AppIntent finished performing

## Declaration

```swift
static func result<Content>(opensIntent: some AppIntent, view: Content = EmptyView()) -> Self where Self == IntentResultContainer<Never, Never, _SnippetViewContainer, Never>, Content : View
```

## Parameters

- `opensIntent`: An AppIntent to shows the result of current intent
- `view`: A custom View to display the result
