mirror of
https://github.com/janet-lang/janet
synced 2025-11-02 08:33:04 +00:00
Change fiber signal model to add user signals. This
should allow easier implementations of eventloops, threadpools, or custom data flows with fibers.
This commit is contained in:
@@ -146,7 +146,7 @@
|
||||
# Fiber tests
|
||||
|
||||
(def afiber (fiber.new (fn [x]
|
||||
(error (string "hello, " x)))))
|
||||
(error (string "hello, " x))) :e))
|
||||
|
||||
(def afiber-result (fiber.resume afiber "world!"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user