FiberBase.call

Throwable call( Rethrow rethrow = Rethrow.yes )

Transfers execution to this fiber object. The calling context will be suspended until the fiber calls Fiber.yield() or until it terminates via an unhandled exception.

Parameters

rethrowRethrow any unhandled exception which may have caused this fiber to terminate. In: This fiber must be in state HOLD.

Throws

Any exception not handled by the joined thread.

Returns

Any exception not handled by this fiber if rethrow = false, null

otherwise.

Throwable call( Rethrow rethrow )()

ditto