Add List constructors to docs.

This commit is contained in:
Bob Nystrom
2016-08-04 06:28:41 -07:00
parent 3666eae013
commit 500c7b0426
3 changed files with 20 additions and 6 deletions
+6 -6
View File
@@ -4,6 +4,12 @@ A lightweight coroutine. [Here][fibers] is a gentle introduction.
[fibers]: ../../concurrency.html
## Static Methods
### Fiber.**current**
The currently executing fiber.
### Fiber.**new**(function)
Creates a new fiber that executes `function` in a separate coroutine when the
@@ -14,12 +20,6 @@ fiber is run. Does not immediately start running the fiber.
System.print("I won't get printed")
}
## Static Methods
### Fiber.**current**
The currently executing fiber.
### Fiber.**suspend**()
Pauses the current fiber, and stops the interpreter. Control returns to the