class Murcure::Pool(A, M, S)
- Murcure::Pool(A, M, S)
- Reference
- Object
Included Modules
- Earl::Agent
- Earl::Artist(M)
- Earl::Logger
- Earl::Mailbox(M)
Defined in:
murcure/utils/pool.crConstructors
Instance Method Summary
- #call(message : M)
-
#call
Spawns workers in their dedicated
Fiber
. -
#terminate : Nil
Asks each worker to stop.
-
#trap(agent : A, exception : Exception | Nil) : Nil
Recycles and restarts crashed and unexpectedly stopped agents.
Constructor Detail
Instance Method Detail
def trap(agent : A, exception : Exception | Nil) : Nil
#
Recycles and restarts crashed and unexpectedly stopped agents.