(stop-current-facet)
This commit is contained in:
parent
ac5c5d2e5f
commit
37cee0c937
|
@ -14,6 +14,7 @@
|
|||
field/c
|
||||
assert
|
||||
stop-facet
|
||||
stop-current-facet
|
||||
stop-when
|
||||
on-start
|
||||
on-stop
|
||||
|
@ -410,6 +411,9 @@
|
|||
(parameterize ((current-facet-id (cdr fid))) ;; run in parent context wrt terminating facet
|
||||
(schedule-script! (lambda () (begin/void-default script ...))))))]))
|
||||
|
||||
(define-syntax-rule (stop-current-facet)
|
||||
(stop-facet (current-facet-id)))
|
||||
|
||||
(define-syntax (stop-when stx)
|
||||
(syntax-parse stx
|
||||
[(_ w:when-pred E prio:priority script ...)
|
||||
|
|
Loading…
Reference in New Issue