Comment
Comment by gabesullice
I might be too late for you to see this, but I'm curious why your final example requires the function "f" to receive the canWrite channel. I must be missing something. Couldn't the Ordered map signature be:
Instead of:
Or is there a reason that "f" can't be wrapped in an anonymous function to handle the blocking logic?