Fiber.call

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.

  1. Throwable call(Rethrow rethrow)
  2. Throwable call()
    class Fiber
    final
    call
    (
    Rethrow rethrow
    )
    ()

Parameters

rethrow

Rethrow any unhandled exception which may have caused this fiber to terminate.

In: This fiber must be in state HOLD.

Return Value

Type: Throwable

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

Throws

Any exception not handled by the joined thread.

Meta