PoolFactory
class PoolFactory
Factory for creating and managing simple pools.
Properties
| protected Pool> | $pools | ||
| protected Config> | $configs |
Methods
Details
at line 24
__construct(Container $container)
No description
at line 36
PoolFactory
addConfig(Config $config)
Register a pool config on the factory.
Boot-only. The config persists on the factory for the worker lifetime and is used to construct the named Pool on first resolution. Per-request registration races across coroutines.
at line 46
Pool
get(string $name, callable $callback, array $option = [])
No description
at line 70
array
getPoolNames()
No description
at line 75
protected bool
hasConfig(string $name)
No description
at line 80
protected Config
getConfig(string $name)
No description