Framework-agnostic delegation for intent handlers.
Summary
Functions
Run a delegated task through the configured orchestrator.
Run delegation configured on an intent handler module.
Types
Functions
@spec run(task_ref(), map(), AppleIntents.Context.t(), keyword()) :: {:ok, map()} | {:error, AppleIntents.Error.t() | term()}
Run a delegated task through the configured orchestrator.
@spec run_from_handler(module(), map(), AppleIntents.Context.t(), keyword()) :: {:ok, map()} | {:error, AppleIntents.Error.t() | term()}
Run delegation configured on an intent handler module.