Skip to content

Commit a4089d6

Browse files
committed
Rename wait to sleep
1 parent 295bd65 commit a4089d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/common/io/time.effekt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ extern llvm """
44
declare void @c_timer_start(%Int, %Stack)
55
"""
66

7-
extern async def wait(millis: Int): Unit =
7+
extern async def sleep(millis: Int): Unit =
88
js "$effekt.capture(k => setTimeout(() => k($effekt.unit), ${millis}))"
99
llvm """
1010
call void @c_timer_start(%Int ${millis}, %Stack %stack)

0 commit comments

Comments
 (0)