sys:load-then-quit   scheme


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

Implementation

;; load, then wait 10s and quit
(define sys:load-then-quit
  (lambda (filename delay-in-sec)
    (begin
     (sys:load filename)
     (callback (+ (now) (* *second* delay-in-sec)) quit 0))))


Back to Index