code: def signal_master(reactor, signaller, logger, options)
              # This is a signal request
              promise = signaller.request(options)
  
              promise.then do |result|
                  logger.info "signal recieved #{result}"
              end
              promise.catch do |error|
                  logger.info "there was an error #{error}"
              end
              promise.finally do
                  reactor.shutdown
              end
          end
docs: ---------------------------------------
   TTY SIGNALLING CONTROL
   ---------------------------------------