-
Notifications
You must be signed in to change notification settings - Fork 293
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
scheduled event failed #53
Comments
No, you found some work in progress that is not supported yet. Sorry about that! |
Ok, I'll wait it until production! |
Also stumbled on this today. So it's not possible to handle cron events with workers-rs right now? |
@mlafeldt - sorry about that. correct, as of now you can only use the |
Sure, a couple of pointers would be nice! I'm new to Cloudflare Workers (after having used Lambda for many years). |
@mlafeldt - the This macro currently has a broken implementation for The bulk of the work is to ensure the args passed to the handler function (the equivalent of That JS -> wasm handoff is exposed in generated JS code (https://github.com/cloudflare/workers-rs/blob/main/worker-build/src/main.rs#L133-L140), and currently is only set up to support The best way to start this would be to follow what the |
Thanks for the explanation, @nilslice. We don't have a direct need for cron events right now, so it's not a priority at work. I or someone else might still be able to take a stab at it later. |
Fixed by #104 |
lib.rs
:Is there something I missed?
The text was updated successfully, but these errors were encountered: