NAME

MongoDB::Async::Pool - Connection pool

SYNOPSIS

The MongoDB::Async::Pool class creates a poll of MongoDB::Async::Connection connections

METHODS

new({ MongoDB::Async::Connection args }, { MongoDB::Async::Pool args });

Creates pool of MongoDB::Async::Connection objects

$pool->get;

Returns MongoDB::Async::Connection object. You don`t need to think about returning object to pool, it`ll be returned on DESTROY

TODO

Opened connections limit

Timeout to close unused connections