react (statement prefix) react
Documentation for react (statement prefix) react
assembled from the following types:
language documentation Statement prefixes
From Statement prefixes
(Statement prefixes) react (statement prefix) react
react
can be used in concurrent programs to create blocks of code that run whenever some event occurs. It works with blocks, and also as a statement prefix.
my Channel .= new;for ^100my = ( start react whenever ->) for ^10;startawait ;
In this case react
prefixes whenever
, which makes a long sum with every number read from a channel.