Promise::ES6::Mojo(3)
β¨ 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 π. Useuse_event()instead, as described inPromise::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
- alpine 3.24: perl-promise-es6-doc 0.28-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms