Sha256: f9136744b261ba52507f7442dc2847dfbe89007abc1eefecb4425909485518ac

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

module Legion::Extensions::Node::Actor
  class Beat < Legion::Extensions::Actors::Every
    def runner_function
      'beat'
    end

    def use_runner?
      false
    end

    def check_subtask?
      false
    end

    def generate_task?
      false
    end

    def run_now?
      true
    end

    def time
      settings['beat_interval']
    end

    def enabled?
      settings['actor'] || false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lex-node-0.1.4 lib/legion/extensions/node/actors/beat.rb