Make suspend exit the async block

This commit is contained in:
Tony Garnock-Jones 2022-12-09 21:24:13 +13:00
parent 41b38e7fb2
commit 4878c40be5
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
(async* (lambda () body ...)))
(define (async* thunk)
(call-with-continuation-prompt thunk prompt-tag))
(call-with-continuation-prompt thunk prompt-tag (lambda (k) (k))))
(define (async?)
(continuation-prompt-available? prompt-tag))