I’m thinking the writer can be written in form of a producer. Runs in it’s own dedicated context, and sends whatever the result of the
block()
.
Readers (I assume would read whatever the writer sends), simply read from the producer channel (could be a broad cast channel so readers can receive the same contents?), and executes