Emit a non-blocking molecule.
Emit a non-blocking molecule.
Value to be put onto the emitted molecule.
Check whether the molecule is already bound to a reaction site.
Check whether the molecule is already bound to a reaction site. Note that molecules can be emitted only if they are bound.
True if already bound, false otherwise.
This is lazy
because we will only know whether this molecule is a singleton after this molecule is bound to a reaction site, at run time.
Name of the molecule, used for debugging only.
Volatile reader for a molecule.
Volatile reader for a molecule. The molecule must be declared as a singleton.
The value carried by the singleton when it was last emitted. Will throw exception if the singleton has not yet been emitted.
Non-blocking molecule class. Instance is mutable until the molecule is bound to a reaction site and until all reactions involving this molecule are declared.
Type of the value carried by the molecule.