ForgeOrchestrator
Three orchestrators for three shapes of app flow.
Sequence for once-through. Pipeline for shared state. Monitor for continuous.
.package(url: "...ForgeOrchestrator", from: "1.0.0") Quick Example
import ForgeOrchestrator
// Pick the orchestrator that matches your flow shape
// 1. Sequence — runs actions once, in priority order (app launch gates)
let sequence = SequenceOrchestrator()
sequence.register(ForceUpdateAction())
sequence.register(OnboardingAction())
await sequence.evaluate()
// 2. Pipeline — actions share typed state (data-loading flows)
let pipeline = PipelineOrchestrator()
pipeline.register(LoadPostsAction())
pipeline.register(FilterPostsAction())
let results = await pipeline.evaluate()
// 3. Monitor — re-evaluates on interval (long-running checks)
let monitor = MonitorOrchestrator(interval: 300)
monitor.register(TermsExpiredAction())
monitor.start() Why ForgeOrchestrator
Three Orchestrators
Each orchestrator is built for a distinct flow shape. Pick one per use case.
Priority Ordering
Actions execute in priority order. Critical gates run before anything else — guaranteed.
CompletionSignal
Bridge UI flows to async evaluation. Wait on any thread; complete from any context.
Forge Ecosystem
ForgeInject
Lightweight dependency injection for iOS. Property wrapper. Thread-safe.
ForgeObservers
Reactive system observers. Connectivity, lifecycle, keyboard, and more.
ForgeStorage
Type-safe persistence. Key-value, file storage, and Keychain.
ForgeBackgroundTasks
BGTaskScheduler registration, scheduling, and dispatch for iOS.
ForgeLocation
Location-based triggers. Geofencing, significant changes, and visits.
ForgePush
Push notification management. Permissions, tokens, and routing.
ForgeOrchestrator
currentSequence, pipeline, and monitor orchestrators for iOS app flows.