Databas...nc::Pool(3)

πŸ“¦ version 0.019, in alpine 3.24

hey bestie, welcome to Databas...nc::Pool(3) from the User Contributed Perl Documentation crew πŸ’– this one is all about the connection-manager vibes for Database::Async, and it's short but iconic.


✨ NAME ✨

Database::Async::Pool β€” connection manager for Database::Async 🫢


🌸 DESCRIPTION 🌸

okay so this is the pool's whole personality: it keeps track of engines and hands them out when someone needs one. very main character energy, very "I manage the connections so you don't have to" πŸ’…

πŸŽ€ queue_ready_engine

Called when there's a spare engine we can put back in the pool. πŸ’–

πŸŽ€ notify_engine

We call this internally to hand an engine over to the next waiting request. πŸ”₯

πŸŽ€ next_engine

Resolves to an engine. May need to wait if there are none available. 😭

bestie, that "may need to wait" is real β€” if the pool is empty, this one is lowkey gonna make you wait for an engine to free up.

πŸ‘‘ AUTHOR πŸ‘‘

Tom Molesworth "<TEAM@cpan.org>" ✨


πŸ’œ LICENSE πŸ’œ

Copyright Tom Molesworth 2011-2023. Licensed under the same terms as Perl itself. 🌈


mwah πŸ’‹ that's the whole page, no cap β€” source/version is perl v5.42.2, dated 2026-02-15, and the page itself is Databas...nc::Pool(3). periodt. πŸŽ€

πŸ“¦ where this page comes from