We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295bd65 commit a4089d6Copy full SHA for a4089d6
libraries/common/io/time.effekt
@@ -4,7 +4,7 @@ extern llvm """
4
declare void @c_timer_start(%Int, %Stack)
5
"""
6
7
-extern async def wait(millis: Int): Unit =
+extern async def sleep(millis: Int): Unit =
8
js "$effekt.capture(k => setTimeout(() => k($effekt.unit), ${millis}))"
9
llvm """
10
call void @c_timer_start(%Int ${millis}, %Stack %stack)
0 commit comments