class Async::Scheduler::FiberInterrupt

Used to defer stopping the current task until later.

def alive?

@returns [Boolean] Whether the task is alive.
def alive?
	@fiber.alive?
end

def initialize(fiber, exception)

@parameter task [Task] The task to stop later.

Create a new stop later operation.
def initialize(fiber, exception)
	@fiber = fiber
	@exception = exception
end

def transfer

Transfer control to the operation - this will stop the task.
def transfer
	# Fiber.blocking{$stderr.puts "FiberInterrupt#transfer(#{@fiber}, #{@exception})"}
	@fiber.raise(@exception)
end