Event:...Signal(3pm)
β¨ NAME β¨
okay bestie, say hi to Event::Distributor::Signal π β an event that returns no result. periodt.
π DESCRIPTION π
so this is a subclass of Event::Distributor::_Event, and the way it works is lowkey iconic: it invokes each of its subscribers in turn, making sure each one has a chance to be invoked no matter what the result of the others was. equal opportunity behavior, fr fr. π«Ά
now for the Future tea β:
- Its
Futuresucceeds (with no value) if no subscriber failed. slay. β¨ - If one subscriber failed, the
Futurefails in the same way. π - If two or more subscribers fail, the resulting
Futurefails with a message composed by combining all the individual messages, in thedistributorcategory, whose failure details are a list of the failed component futures. π
no cap, that last one is giving "we all fall down together" energy. not me being dramatic about failure details. π
π AUTHOR π
Paul Evans <leonerd@leonerd.org.uk> β author icon behavior. π
mwah π this lil doc moment came from perl v5.32.1, dated 2021-09-29, and it's the Event:...Signal(3pm) page. bye bestie, go invoke some subscribers responsibly. π
π¦ where this page comes from
- debian bookworm: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libevent-distributor-perl 0.06-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms