Skip to content
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

Support HTTP Request and Cron Trigger in Single Worker #130

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

ben-krieger
Copy link
Contributor

@ben-krieger ben-krieger commented Oct 31, 2024

Fixes #127

What

Add a non-blocking version of cron.ScheduleTask so that it can be called before workers.Serve, allowing a single WASM binary to handle both cron triggers and HTTP requests

Motivation

See #127

@ben-krieger ben-krieger marked this pull request as ready for review November 7, 2024 16:36
Copy link
Owner

@syumai syumai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@syumai syumai merged commit 6e29c1e into syumai:main Nov 7, 2024
2 checks passed
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.

Support HTTP Request and Cron Trigger in Single Worker
2 participants