Class
ActionRegistry
Central registry for built-in and plugin-provided actions.
actor ActionRegistryOverview
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
func allDescriptors() -> [ActionDescriptor]Returns all registered action descriptors.
func descriptor(named: String) -> ActionDescriptor?Look up a registered action descriptor by name.
func register(ActionDescriptor) throwsRegister a new action descriptor.
func registerCustomActions([String : CustomActionConfig]) throwsRegister all user-defined composite actions from a Shipfile.
Default Implementations
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype_Concurrency.Actor