module Thyme::SignalHandler

Overview

Thyme runs in multiple processes (sort of):

  1. the main daemon process - where the timer runs continuously
  2. secondary processes - which start to send stop/pause/unpause to the main process

SignalHandler is used for sending/receiving messages. Receiving should only be done on the main process. Sending should only be done on the secondary process.

Extended Modules

Defined in:

thyme/signal_handler.cr

Instance Method Summary

Instance Method Detail

def on_stop(&block) #

[View source]
def on_toggle(&block) #

[View source]
def send_stop #

[View source]
def send_toggle #

[View source]