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

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

Constant Summary collapse

Poll =
Algebrick.atom

Instance Method Summary collapse

Instance Method Details

#pollObject



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

def poll; end

#run(event = nil) ⇒ Object



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

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