klyn.threading.Thread.interrupt
method
public interrupt() as Void
Description

Records interruption atomically and wakes an interruptible sleep. Does not forcibly cancel computation or imply stopRequested.

Example

worker.interrupt()