Skip to content

Conversation

nojaf
Copy link
Member

@nojaf nojaf commented Sep 12, 2025

I add let sleep = ms => Promise.make((resolve, _) => setTimeout(resolve, ms)->ignore) to a lot of my projects.

Would like to have this in the standard library.

Copy link

pkg-pr-new bot commented Sep 12, 2025

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@7880

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@7880

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@7880

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@7880

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@7880

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@7880

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@7880

commit: 4f5e154

@nojaf
Copy link
Member Author

nojaf commented Sep 12, 2025

@cknitt, there's no need for me to hold up the release for this. We can revisit and possibly merge it later.

@cknitt
Copy link
Member

cknitt commented Sep 12, 2025

Yes, thanks, already proceeding with the release!

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.

2 participants