Previous: , Up: Sleep strategies   [Contents][Index]


8.8.2 Always

The “always” strategy (provided by the (goblins sleep-strategy always) module) will put all awake objects to sleep at the earliest opportunity. This strategy exists for testing purposes and shouldn’t be used in production.

Procedure: sleep:always

Return a new instance of the “always” sleep strategy.