class Async::Stop::Later

Used to defer stopping the current task until later.

def alive?

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

def initialize(task)

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

Create a new stop later operation.
def initialize(task)
	@task = task
end

def transfer

Transfer control to the operation - this will stop the task.
def transfer
	@task.stop
end