move future to method

This commit is contained in:
Jaremy Creechley 2023-09-14 15:39:01 -07:00
parent 911abb43aa
commit 6a45f9fa25
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300

View File

@ -110,7 +110,6 @@ method put*(
then(proc () =
sig.decr()
os.sleep(400)
var ret = ret
let val = ret.convert(void)
putRes.complete(val)
).cancelled(proc() =