klyn.threading.Thread.isInterrupted
property
public readonly property isInterrupted as Boolean
Description

Returns true when interruption was requested. The flag remains set; interruption does not imply a stop request.

Example

if Thread.currentThread.isInterrupted: return