Sha256: 339e8c34b16c8f6ffd4eadb5f467eb3a66312f64850f4a6cce6e3a9659b92665

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

current_valuation = 0

SCHEDULER.every '2s' do
  last_valuation = current_valuation
  current_valuation = rand(100)

  send_event('valuation', { current: current_valuation, last: last_valuation })
  send_event('synergy',   { value: rand(100) })
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dashing-0.1.0 templates/project/jobs/sample.rb