Closed YooSunYoung closed 1 month ago
Idea note from #144
Now Daemon
is sending messages to a router directly.
But, maybe it just have a async-generator that yields Message
s as it runs.
And Application
can use the generator and send the message that it yields instead.
It is already implemented as a message router.
The applications need to be controlled during the run-time, i.e.
kill
orrestart
. Current prototype applications have time-out and a dedicated flag that they are watching. For more flexible controlling of those apps, maybe we can use event routers.For example, kafka brokers or message bubbling and on method in textual.
We could somehow use
textual
orflask
or... similar third party packages, or implement them ourselves...?