MessageFiber.kill

Kills the fiber coroutine. That is, resumes it and makes resume() throw a KilledException.

Param: file = source file (passed to the exception) line = source code line (passed to the exception)

class MessageFiber
void
kill
(
istring file = __FILE__
,
long line = __LINE__
)

Return Value

Type: void

When the fiber is suspended by suspend() or finishes.

In: The fiber must be waiting (not running or finished).

Meta