🔍
Reagent sync
Much like as async reagent, but waits ACKs on every send.Is used for ensure that message has been delivered.
Syntax: reagent[`sync]
Avoid using sync reagent in the same task because it causes an deadlock.
o)s: reagent[`sync];
o)spawn {react {[x:s] println["value from sync reagent has been received: %";x]}};
o)s[123];
value from sync reagent has been received: 123