lib/rbx/thread.fy in fancy-0.3.0 vs lib/rbx/thread.fy in fancy-0.3.1
- old
+ new
@@ -70,6 +70,11 @@
def Thread start: block {
start(&block)
}
+ def Thread sleep: seconds {
+ "Sets the Fancy process for a given amount of seconds to sleep."
+
+ Kernel sleep(seconds)
+ }
}