Sha256: a6bc270e98638a4fc6c31936ab0ff1386a98da42d8df3f91d904bf45b91796eb

Contents?: true

Size: 363 Bytes

Versions: 4

Compression:

Stored size: 363 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
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lex-node-0.2.0 lib/legion/extensions/node/actors/beat.rb
lex-node-0.1.7 lib/legion/extensions/node/actors/beat.rb
lex-node-0.1.6 lib/legion/extensions/node/actors/beat.rb
lex-node-0.1.5 lib/legion/extensions/node/actors/beat.rb