module Falcon::Environment::Supervisor

def endpoint

@returns [Async::IO::Endpoint]
The endpoint the supervisor will bind to.
def endpoint
	Async::IO::Endpoint.unix(ipc_path)
end

def ipc_path

@returns [String]
The IPC path to use for communication with the supervisor.
def ipc_path
	::File.expand_path("supervisor.ipc", root)
end

def name

@returns [String]
The name of the supervisor
def name
	"supervisor"
end

def service_class

@returns [Class]
The service class to use for the supervisor.
def service_class
	::Falcon::Service::Supervisor
end