donate(intent:result:)
Donates an AppIntent and IntentResult to the transcript.
Declaration
@discardableResult func donate(intent: some AppIntent, result: some IntentResult) -> IntentDonationIdentifierDiscussion
This synchronous interface is available for adopting application that haven’t adopted Swift async concurrency. Any exceptions encountered in donating this intent are ignored.