Skip to content

Conversation

riteshshukla04
Copy link
Contributor

@riteshshukla04 riteshshukla04 commented Sep 28, 2025

This was the only way i could get worklets working here.
Promise inside worklets breaks it with random yield errors.
Please dont ban me for this shit thing.

So I did three things here

  1. Changed createRuntime to createContext.
  2. Changed run to runAsync
  3. When returning promises inside runAsync It was breaking . So what I did was create a new requestSync method that doesnt return the promise but nitroResponse (Maybe this is not the best way .)

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.

1 participant