mirror of
https://github.com/janet-lang/janet
synced 2025-11-09 03:53:06 +00:00
Fix typo in ev/spawn doc
This commit is contained in:
@@ -3568,7 +3568,7 @@
|
|||||||
(ev/go (fn _call [&] (f ;args))))
|
(ev/go (fn _call [&] (f ;args))))
|
||||||
|
|
||||||
(defmacro ev/spawn
|
(defmacro ev/spawn
|
||||||
"Run some code in a new fiber. This is shorthand for `(ev/call (fn [] ;body))`."
|
"Run some code in a new fiber. This is shorthand for `(ev/go (fn [] ;body))`."
|
||||||
[& body]
|
[& body]
|
||||||
~(,ev/go (fn _spawn [&] ,;body)))
|
~(,ev/go (fn _spawn [&] ,;body)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user