Skip to content

Conversation

@scottmarchant
Copy link
Collaborator

@scottmarchant scottmarchant commented Dec 2, 2025

Summary

Initial Swift package scaffolding with AsyncEventLoopExecutor foundation and CI wiring. Umbrella: #2.

Details

Usage Examples

  • Spin up an executor and drive scheduled work:
let executor = AsyncEventLoopExecutor(loopID: UUID(), manualTimeMode: true)
executor.enqueue { print("run on loop") }
let jobID = executor.schedule(after: .milliseconds(10), job: { print("delayed") }, failFn: { error in })
await executor.run()
executor.cancelScheduledJob(withID: jobID)

Tests covering the executor and loop behavior: #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants