Class: Thread

Inherits:
Object
  • Object
show all
Defined in:
lib/revactor/actor.rb

Overview

Monkeypatch Thread to include a method for obtaining the current Scheduler

Instance Method Summary collapse

Instance Method Details

#_revactor_schedulerObject



12
13
14
# File 'lib/revactor/actor.rb', line 12

def _revactor_scheduler
  @_revactor_scheduler ||= Actor::Scheduler.new
end