class Concurrent::ScheduledTask

def cancelled?

Returns:
  • (Boolean) - true if the task is in the given state else false
def cancelled?
  synchronize { ns_check_state?(:cancelled) }
end