_std/promises.dm
/datum/interruptible_sleep | Represents something akin to a sleep() call that can be interrupted. |
---|---|
INTERRUPT_SLEEP | Interrupts an /datum/interruptible_sleep. For best performance make sure there are as few references to this datum as possible. |
/datum/promise | Represents a promised value that can then be fulfilled (likely by some other execution context). Supports waiting for fulfillment. |
Define Details
INTERRUPT_SLEEP
Interrupts an /datum/interruptible_sleep. For best performance make sure there are as few references to this datum as possible.
@param ISLEEP The sleep to interrupt.