AppleIntents.Context (apple_intents v0.1.0)

Copy Markdown View Source

Execution context passed to intent handlers.

Summary

Types

t()

@type t() :: %AppleIntents.Context{
  approved: boolean(),
  config: AppleIntents.Config.t(),
  dry_run: boolean(),
  metadata: map(),
  payload: AppleIntents.Payload.t()
}

Functions

build(payload, opts \\ [])

@spec build(
  AppleIntents.Payload.t(),
  keyword()
) :: t()