class Runway::Core

Overview

The Core class is responsible for starting the Runway service. It initializes the service with a logger and a configuration, starts the service, and schedules events for each project in the configuration.

Defined in:

runway/core/runway.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(log : Log, config : RunwayConfiguration) #

Initializes a new Core.

@param log [Log] The logger to use. @param config [RunwayConfiguration] The configuration for the service.


[View source]

Instance Method Detail

def start! #

Starts the service. It logs the start of the service, creates a Project for each project in the configuration, schedules events for each project, and then keeps the service running until it is stopped.


[View source]