class Arachni::Reactor::Tasks::Delayed
@note {#interval Time} accuracy cannot be guaranteed.
{Base Task} occurring after {#interval} seconds.
@author Tasos “Zapotek” Laskos <tasos.laskos@gmail.com>
Public Instance Methods
call( *args )
click to toggle source
@note Will call {#done} right after.
@return [Object, nil]
Return value of the configured task or `nil` if it's not {#interval time} yet.
# File lib/arachni/reactor/tasks/delayed.rb, line 25 def call( *args ) return if !call? call_task( *args ).tap { done } end