Method: Async::Scheduler#raise

Defined in:
lib/async/scheduler.rb

#raiseObject

Raise an exception on a specified fiber with the given arguments.

This internally schedules the current fiber to be ready, before raising the exception, so that it will later resume execution.



214
215
216
# File 'lib/async/scheduler.rb', line 214

def raise(...)
	@selector.raise(...)
end