
🔍
Reagent listener
Binds to a network interface and accepts incomіng tcp connections, producing reagents `tcp
as a vаlues.
Syntax: reagent[`listener;"host:port"]
listener: reagent[`listener;"0.0.0.0:5100"];
spawn {
react {[x:listener]
cli: reagent[`ipc;x];
react {[x:cli] println["\nclient request: [%] -- %";ts[];x]; cli[x]}
};
};