Skip to content

Conversation

@CrowdHailer
Copy link
Contributor

I keep recreating this. To build a timeout function requires something like plinth or writing your own ffi. Both of these approaches are quite heavy handed. because setTimeout is on globalThis and part of the JavaScript spec I don't foresee any maintenance burden across platforms like deno etc.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Nice, thank you

@lpil lpil merged commit 1897f04 into gleam-lang:main Sep 28, 2024
1 check passed
@CrowdHailer CrowdHailer deleted the promise-wait branch September 28, 2024 14:22
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