mirror of
https://github.com/janet-lang/janet
synced 2024-12-24 23:40:27 +00:00
Fix typo in ev/spawn doc
This commit is contained in:
parent
356b39c6f5
commit
e4c9dafc9a
@ -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)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user