class JoobQ::ConfigMapper

Overview

Maps YAML configuration data to JoobQ Configure instances

This class handles the conversion of YAML configuration files into JoobQ Configure instances. Since JoobQ uses strongly-typed queues with compile-time job class resolution, this mapper stores configuration data for later use rather than creating queues immediately.

The actual queue creation should be handled by the application after job classes are available, using the helper methods in the Configure class.

Defined in:

joobq/config_mapper.cr

Class Method Summary

Class Method Detail

def self.map_to_configure(yaml_data : YAML::Any) : Configure #

[View source]