Method: Concurrent::TimerTask#running?

Defined in:
lib/concurrent-ruby/concurrent/timer_task.rb

#running?Boolean

Is the executor running?

Returns:

  • (Boolean)

    ‘true` when running, `false` when shutting down or shutdown



218
219
220
# File 'lib/concurrent-ruby/concurrent/timer_task.rb', line 218

def running?
  @running.true?
end