Check out reactive streaming tech like Akka, they’ve been talking about this for well over a decade now, using exactly this language.