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 = Rethrow.yes)
    class Fiber
    final
    Throwable
    call
  2. Throwable call()
  3. Throwable call(bool rethrow)

Parameters

rethrow
Type: 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.

Suggestion Box / Bug Report