sys:sleep   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/scheme.xtm

Implementation

(define sys:sleep
   (lambda (duration)
      (call/cc (lambda (cont)
      (callback (+ (now) duration) cont #t)
      (*sys:toplevel-continuation* 0)
      #t))))


Back to Index