AnyEvent::Impl::EV(3)

πŸ’… AnyEvent::Impl::EV β€” bestie edition

ok so this page is AnyEvent::Impl::EV from the User Contributed Perl Documentation, and it's basically the glue that makes AnyEvent and EV hold hands 🫢


✨ NAME ✨

AnyEvent::Impl::EV β€” the AnyEvent adaptor for EV. that's it, that's the whole name, and honestly? iconic. πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

use AnyEvent;
use EV;

# this module gets loaded automatically as required

read that last comment again, bestie β€” you literally don't have to lift a finger. it just shows up when it's needed, main character energy fr fr ✨


πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this module gives AnyEvent transparent support. transparent means you don't have to do anything to make EV work with AnyEvent. the only little thing is: load EV before you create the first AnyEvent watcher. that's the whole ritual, no cap. πŸ•―οΈ

and like… EV is the fastest event library for perl, periodt. it's also the best supported by AnyEvent β€” the way that AnyEvent just gets EV?? obsessed. πŸ’• most functions from the AE API are implemented as direct aliases to EV functions, which means using EV through AE is as fast as using EV directly. no middleman tax, no vibe downgrade, just speed. πŸ”₯⚑

ngl this is the good ending for performance girlies β€” aliasing done right πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • AnyEvent
  • EV

go read those too, iykyk πŸ“š


🌸 AUTHOR 🌸

Marc Lehmann <schmorp@schmorp.de> http://anyevent.schmorp.de


and that's the whole page, bestie!!! πŸŽ‰ this lil gem is perl v5.42.0, dated 2019-09-18, and yes β€” it's AnyEvent::Impl::EV(3) through and through. mwah πŸ’‹ see u in the next manpage πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from