Method: Proc#after!

Defined in:
lib/reactive_record/interval.rb

#after!(time) ⇒ Delay

Execute a block after the given seconds, you have to call [#start] on it yourself.

Parameters:

  • time (Float)

    the seconds after it gets called

Returns:

  • (Delay)

    the object representing the timeout



187
188
189
# File 'lib/reactive_record/interval.rb', line 187

def after!(time)
  $window.after!(time, &self)
end