Skip to content

feat(events): add durable waitForEvent - #22

Open
psteinroe wants to merge 10 commits into
feat/event-pipelinefrom
feat/wait-for-event
Open

psteinroe wants to merge 10 commits into
feat/event-pipelinefrom
feat/wait-for-event

Conversation

@psteinroe

@psteinroe psteinroe commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Add typed TaskContext.waitForEvent with durable one-shot subscriptions, filter validation, persisted replay, and timeout handling.

Registration verifies the execution is active and owned by the current worker, then releases it without consuming an attempt. Event matching and timeout resolution are transactional, and a monotonic event position defines the no-lost-wakeup registration boundary.

Closes #14

@psteinroe
psteinroe added this pull request to stack #25 September 15, 2026 03:35
@psteinroe
psteinroe added this pull request to stack #27 September 15, 2026 13:27
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.

waitForEvent with custom events

1 participant