UNPKG

rafa

Version:

Rafa.js is a Javascript framework for building concurrent applications.

15 lines (11 loc) 411 B
The `Stream.release` method releases backpressure. Since backpressure is configured for the entire stream tree by default, this method can be used to override it at any point in the workflow. This can be useful when a stream node doesn't want to wait for downstream asynchronous steps to complete before sending new messages through. <aside> ```js // release(): Stream Rafa.stream().release(); ``` </aside>