Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
process_host / lib / process_host / process_host.rb
Size: Mime:
module ProcessHost
  def self.start(component_name, &block)
    logger = ::Log.get self

    host = Host.build

    host.instance_exec host, &block

    host.start do
      logger.info "Started component: #{component_name} (ProcessID: #{::Process.pid})"
    end
  end
end