ModuleRegistryProtocol
public protocol ModuleRegistryProtocol<Config> : Sendable
Represents a ModuleRegistry protocol. A ModuleRegistry represents a registry of modules in the application.
-
Declaration
Swift
associatedtype Config : Sendable -
The UUID of the module
Declaration
Swift
var id: UUID { get } -
The priority of the module in the registry.
Declaration
Swift
var priority: Int { get } -
The configuration for the module.
Declaration
Swift
var config: Config { get } -
Registers the module to the workflow.
Declaration
Swift
func register(workflow: Workflow)
View on GitHub