cfunction
src/core/ev.c on line 3161 , column 1
(ev/give-supervisor tag & payload )
Send a message to the current supervisor channel if there is one.
The message will be a tuple of all of the arguments combined into a
single message , where the first element is tag. By convention , tag
should be a keyword indicating the type of message. Returns nil.
(def chan (ev/chan ))
(def f (ev/go (coro (ev/give-supervisor :msg "Hello" )) nil chan ))
(pp (ev/take chan )) # => (:msg "Hello")