[promises] Make Sleep promise movable (#33997)
I have a cool optimization in mind for promises - but it requires that we can move them after polling, which is a contract change. I'm going to work through the set of primitives we have in the coming weeks and change that contract to enable the optimization. --------- Co-authored-by: ctiller <ctiller@users.noreply.github.com>pull/34011/head
parent
65e8e04b6c
commit
b235f20f47
3 changed files with 7 additions and 10 deletions
Loading…
Reference in new issue