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)
  2. Throwable call()
  3. Throwable call(bool rethrow)
    class Fiber
    deprecated("Please pass Fiber.Rethrow.yes or .no instead of a boolean.") final
    Throwable
    call
    (
    bool rethrow
    )

Parameters

rethrow
Type: bool

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