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

Fix setImmediate and setTimeout issues #293

Merged
merged 1 commit into from
Mar 25, 2022
Merged

Fix setImmediate and setTimeout issues #293

merged 1 commit into from
Mar 25, 2022

Conversation

ardatan
Copy link
Member

@ardatan ardatan commented Feb 18, 2022

Most of the browsers don't have setImmediate. setImmediate || setTimeout doesn't work and it throws setImmediate is not defined in this case, so we should check setImmediate with typeof.
And some environments like Cloudflare Workers don't allow you to set setTimeout directly to another variable.
This PR fixes both of these issues.

@vdeantoni
Copy link

Any plans to merge and publish this?

@saihaj
Copy link
Member

saihaj commented Mar 23, 2022

Any plans to merge and publish this?

Yes hopefully next week need to do some CI updates here to automate things

@saihaj
Copy link
Member

saihaj commented Mar 25, 2022

@vdeantoni opened #301 so on its resolution I will setup changesets

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.

5 participants