Skip to content

Commit b527468

Browse files
100% documentation coverage.
1 parent 23603aa commit b527468

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

lib/async/service/loader.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ def self.load_file(configuration, path)
3838
loader.instance_eval(File.read(path), path)
3939
end
4040

41+
# Load a configuration file relative to the loader's root path.
42+
# @parameter path [String] The path to the configuration file, relative to the loader's root.
4143
def load_file(path)
4244
Loader.load_file(@configuration, File.expand_path(path, @root))
4345
end

lib/async/service/managed.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2025, by Samuel Williams.
5+
6+
require_relative "managed/environment"
7+
require_relative "managed/service"
8+
9+
module Async
10+
module Service
11+
# Managed services provide robust lifecycle management including health checking, restart policies, and process title formatting.
12+
#
13+
# This module contains components for building managed services that can run multiple instances with automatic restart and health monitoring.
14+
module Managed
15+
end
16+
end
17+
end

0 commit comments

Comments
 (0)