Promise::ES6::Mojo(3)

πŸ“¦ version 0.28, in alpine 3.24

✨ NAME ✨

okay so this is the Promise::ES6::Mojo(3) page from User Contributed Perl Documentation, and the module is Promise::ES6::Mojo β€” Promises/A+-compliant promises for Mojolicious, with the spec chillin’ at https://github.com/promises-aplus/promises-spec πŸ’–.


🚨 DEPRECATION NOTICE 🚨

⚠️ bestie, listen: this module is deprecated and will go away eventually 😭. Use use_event() instead, as described in Promise::ES6’s documentation. no cap, it’s giving β€œenjoy it while it lasts” πŸ’….

πŸ’… DESCRIPTION πŸ’…

Real talk: this module exposes the same functionality as Promise::ES6::AnyEvent, but it’s for Mojo::IOLoop rather than AnyEvent ✨. Same energy, different event loop, okayyy πŸ¦‹.

Its interface is almost compatible with the ES6-derived portions of Mojo::Promise β€” but lowkey watch out πŸ‘€: Mojo::Promise’s all() and race() methods accept a list of promises rather than an array reference. That’s the lil’ gotcha, iykyk πŸŽ€.

πŸ“Œ NOTE: This module requires Mojolicious version 4.85 or higher 🌸.

mwah πŸ’‹ that’s the whole page! It’s from perl v5.42.2, dated 2026-02-15, and it lives at Promise::ES6::Mojo(3) β€” bye bestie, go write some slay promises! 🫢πŸ”₯

πŸ“¦ where this page comes from