Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Ian/events #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
ianmacartney merged 11 commits into main from ian/events
Oct 28, 2025
Merged

Ian/events #135

ianmacartney merged 11 commits into main from ian/events
Oct 28, 2025

Conversation

@ianmacartney
Copy link
Contributor

@ianmacartney ianmacartney commented Oct 7, 2025

Instead of modeling it as pause/resume, events are a good model here after all.

  • You can await an event by name and send an event by name, in the simplest case
  • You can also create an event ahead of time and pass around the ID.
  • An event is only ever consumed by one step.
  • It can be sent first or awaited first, and it'll have timestamps to know how long things took.
  • You can send a full "result" payload - which will become the step's result - allowing erroring / canceling

Closes #122
Fixes #19
Fixes #25


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

pkg-pr-new bot commented Oct 7, 2025
edited
Loading

Open in StackBlitz

npm i https://pkg.pr.new/get-convex/workflow/@convex-dev/workflow@135

commit: ec6a2b5

Copy link
Contributor Author

out in the latest alpha

zleman1593, monobyte, and nim442 reacted with heart emoji

@ianmacartney ianmacartney merged commit ec6a2b5 into main Oct 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add APIs for waiting on events and sending events Add support for pausing/resume workflows

2 participants

AltStyle によって変換されたページ (->オリジナル) /