Module: Synctest::Patches::FiberSingletonPatch

Defined in:
lib/synctest/patches.rb

Instance Method Summary collapse

Instance Method Details

#set_scheduler(scheduler) ⇒ Object



543
544
545
546
547
548
549
# File 'lib/synctest/patches.rb', line 543

def set_scheduler(scheduler)
  if Synctest.current_bubble
    raise UnsupportedOperationError, "Fiber schedulers are not supported inside a Synctest bubble"
  end

  super
end