forked from Orchid/orchid
in midst of refactor
This commit is contained in:
7
orchidlang/src/libs/asynch/async.orc
Normal file
7
orchidlang/src/libs/asynch/async.orc
Normal file
@@ -0,0 +1,7 @@
|
||||
import std::panic
|
||||
|
||||
export const block_on := \action. \cont. (
|
||||
action cont
|
||||
(\e.panic "unwrapped asynch call")
|
||||
\c.yield
|
||||
)
|
||||
Reference in New Issue
Block a user