class Concurrent::ScheduledTask

def execute

Experimental RBS support (using type sampling data from the type_fusion project).

def execute: (Float delay, ?Hash opts, ) -> untyped

This signature was generated using 1 sample from 1 application.

Returns:
  • (ScheduledTask) - a reference to `self`
def execute
  if compare_and_set_state(:pending, :unscheduled)
    synchronize{ ns_schedule(@delay) }
  end
  self
end