blob: 2314dc2230ee0cf7e8f32fdc2b45d4f8b9f59518 (
plain)
1
2
3
4
5
6
7
8
9
|
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
|