missionary

Andrew Wilcox 2024-05-04T11:40:07.962959Z

An updated version of observe-task and observe-flow: https://gist.github.com/awwx/6d02e6ea702bdc499bcf847e9b9bb98f When the consumer requested a transfer, the previous version reported when the producer produced the value or error (the result of the deref), but didn't report that the deref was going to be performed. Since the producer can synchronously notify during the transfer, this meant that two notifies could be reported without anything else being seen between them. Nothing bad was happening, but it could be confusing because it could look like there was a violation of the flow protocol. The new version reports when the consumer is requesting a transfer, so we can see that the synchronous notify is happening during the transfer. For clarity, the new version also says who is during what, i.e. "producer-notifies", "consumer-transfers", etc.