mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Fix #773 - fix docstring.
This commit is contained in:
parent
ab740f92db
commit
1c15926e6f
@ -2547,7 +2547,7 @@ JANET_CORE_FN(cfun_ev_thread,
|
||||
"to resume with. "
|
||||
"Unlike `ev/go`, this function will suspend the current fiber until the thread is complete. "
|
||||
"If you want to run the thread without waiting for a result, pass the `:n` flag to return nil immediately. "
|
||||
"Otherwise, returns (a copy of) the final result from the fiber on the new thread. Available flags:\n\n"
|
||||
"Otherwise, returns nil. Available flags:\n\n"
|
||||
"* `:n` - return immediately\n"
|
||||
"* `:a` - don't copy abstract registry to new thread (performance optimization)\n"
|
||||
"* `:c` - don't copy cfunction registry to new thread (performance optimization)") {
|
||||
|
Loading…
Reference in New Issue
Block a user