module Async::Container::Supervisor::Environment
def container_options
def container_options {restart: true, count: 1, health_check_timeout: 30} end
def endpoint
The endpoint the supervisor will bind to.
def endpoint ::IO::Endpoint.unix(ipc_path) end
def ipc_path
The IPC path to use for communication with the supervisor.
def ipc_path ::File.expand_path("supervisor.ipc", root) end
def make_server(endpoint)
def make_server(endpoint) Server.new(endpoint: endpoint, monitors: self.monitors) end
def monitors
def monitors [] end
def name
The name of the supervisor
def name "supervisor" end
def service_class
The service class to use for the supervisor.
def service_class Supervisor::Service end