jupyter-pseudo-bind-content: Mention errors in doc

This commit is contained in:
Nathaniel Nicandro 2020-05-25 14:44:34 -05:00
parent 162a0969b9
commit fa43656632

View file

@ -300,7 +300,9 @@ publisher providing content."
(defun jupyter-pseudo-bind-content (pub-fn content subs)
"Apply PUB-FN on submitted CONTENT to produce published content.
Call each subscriber in SUBS on the published content, remove
those subscribers that cancel their subscription."
those subscribers that cancel their subscription.
Errors signaled by a subscriber are demoted to messages."
(pcase (funcall pub-fn content)
((and `(content ,_) sub-content)
(while subs