Skip to content
class method

Thread.pass

() -> untyped
Thread.pass → nil

Give the thread scheduler a hint to pass execution to another thread. A running thread may or may not switch, it depends on OS and processor.