Parent

Class/Module Index [+]

Quicksearch

Celluloid::Supervisor

Supervisors are actors that watch over other actors and restart them if they crash

Attributes

root[RW]

Define the root of the supervision tree

Public Class Methods

supervise(klass, *args, &block) click to toggle source
# File lib/celluloid/supervisor.rb, line 9
def supervise(klass, *args, &block)
  SupervisionGroup.new do |group|
    group.supervise klass, *args, &block
  end
end
supervise_as(name, klass, *args, &block) click to toggle source
# File lib/celluloid/supervisor.rb, line 15
def supervise_as(name, klass, *args, &block)
  SupervisionGroup.new do |group|
    group.supervise_as name, klass, *args, &block
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.