Sha256: c4b08aace7d94170a62fa202c2603c79e97a007899b455b410f710b55c3d04ad
Contents?: true
Size: 292 Bytes
Versions: 3
Compression:
Stored size: 292 Bytes
Contents
class Camunda::Poller def self.fetch_and_execute(topics, lock_duration: nil, long_polling_duration: nil) loop do Camunda::ExternalTask .fetch_and_lock(topics, lock_duration: lock_duration, long_polling_duration: long_polling_duration).each(&:queue_task) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
camunda-workflow-0.1.2 | lib/camunda/poller.rb |
camunda-workflow-0.1.1 | lib/camunda/poller.rb |
camunda-workflow-0.1 | lib/camunda/poller.rb |