Contents

donate(intent:result:)

Donates an AppIntent and IntentResult to the transcript.

Declaration

@discardableResult func donate(intent: some AppIntent, result: some IntentResult) -> IntentDonationIdentifier

Discussion

This synchronous interface is available for adopting application that haven’t adopted Swift async concurrency. Any exceptions encountered in donating this intent are ignored.

See Also

Donating intents to the system