gleam-lang / javascript

🌼 Extra code for when running on JavaScript
https://hexdocs.pm/gleam_javascript/
52 stars 9 forks source link

Add binding for setTimeout #10

Closed johtso closed 3 months ago

johtso commented 3 months ago

https://github.com/CrowdHailer/plinth/blob/fd2ef9ef058281a5a6e272fbbae6a7e904c04a83/src/plinth/javascript/global.gleam#L14-L14

johtso commented 3 months ago

Oh, is this actually outside of the scope of this package because it's more of a runtime API than a core language feature?

lpil commented 3 months ago

Perhaps it's enough that it is in Plinth?