Skip to content

Class

ActionRegistry

Central registry for built-in and plugin-provided actions.

actor ActionRegistry

Overview

All methods are async because ActionRegistry is an actor — callers must await access to serialize concurrent registration and lookup.

Usage

let registry = ActionRegistry()
try await registry.register(BuildAction.descriptor(for: BuildAction()))
let descriptor = await registry.descriptor(named: "build")

Topics

Initializers

  • init()

    Creates an empty ActionRegistry.

Instance Methods

Default Implementations

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype
  • _Concurrency.Actor