neva
neva copied to clipboard
Message literal (and constant reference probably too) can be used as a trigger/unlocker for deferred connection
Only port should be used at a left side of the -> (...)
connection. Constant messages are unconditionally sent in infinite loops by New
emitter component.
component Main(start) (stop) {
nodes { Println, Eq<string>,If,Del}
:start -> [
('neva is cool' -> eq:val),
('neva' -> eq:val2)
]
eq:res -> if
0 -> [('test' -> println -> del), ('other test' -> println -> del)]
if:then -> ('They match' -> println -> :stop)
if:else -> ('They do not match' -> println -> :stop)
}