Sha256: 56845eae851b36123f009a7302b9696fcc605f228ef2f89f017932f0d22e8c9e
Contents?: true
Size: 339 Bytes
Versions: 4
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module ChronoTrigger class Worker < Concurrent::Actor::RestartingContext def on_message(event) Rails.logger.debug "ChronoTrigger: #{event.inspect}" event.perform(*event.args) if event.at.nil? || (event.at && event.before.nil?) || (event.before && event.at < event.before) end end end
Version data entries
4 entries across 4 versions & 1 rubygems