Contents

donate(result:)

Donates the intent and optional result to the transcript.

Declaration

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

Discussion

This synchronous method is available to applications that haven’t adopted Swift async concurrency. The system ignores any exceptions encountered when donating this intent.

See Also

Donating the intent to the system