Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
FallingUpwards2402207dPromise to observable and oposite?
zlice4273207devent listeners? (sometimes event handlers)
IntrusionCM12181207d@lbfalvy I'm not entirely sure about what you mean.
In general, command pattern as a common category.
In your specific case, I think you're looking for the word emitter?
Maybe look at the PSR - I think the definitions are well written, just ignore the PHP part.
Crost4212207dI don't think this is quite right but just in case - call backs.
lbfalvy1100741dApparently this is a very universal problem called communication, notable patterns are monads, coroutines, commands. These aren't doing the same thing, but they all serve to blur the line between caller and callee in order to give specific operations much greater access to control flow than a regular function could have.