Module: Proxy::Dynflow::Action::WithExternalPolling

Defined in:
lib/smart_proxy_dynflow/action/external_polling.rb

Constant Summary collapse

Poll =
Algebrick.atom

Instance Method Summary collapse

Instance Method Details

#pollObject



14
15
# File 'lib/smart_proxy_dynflow/action/external_polling.rb', line 14

def poll
end

#run(event = nil) ⇒ Object



5
6
7
8
9
10
11
12
# File 'lib/smart_proxy_dynflow/action/external_polling.rb', line 5

def run(event = nil)
  if event.is_a?(Poll)
    poll
    suspend
  else
    super
  end
end