View Source Dragonfly.Pool (dragonfly v0.1.2)

Manages a pool of Dragonfly.Runner's.

Pools support elastic growth and shrinking of the number of runners.

Examples

children = [
  ...,
  {Dragonfly.Pool, name: MyRunner, min: 1, max: 10, max_concurrency: 100}
]

TODO spin down after inactive_shutdown

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Link to this function

call(name, func, opts \\ [])

View Source

TODO

Returns a specification to start this module under a supervisor.

See Supervisor.

TODO