Skip to content
Commit Detail

Commit dbacb42

Author
Harris Hancock <harris@cloudflare.com> 2025-01-22 16:23:25 +0000
Parents
ae1734d
Tree
d06e5b3
DeferredProxyCoroutine::await_transform() perfectly-forwards result

Our current implementation of await_transform() requires that we return a result by value, by dint of returning `auto`. An upcoming capnproto patch will change await_transform()'s behavior to just be a pass-through, deferring the actual awaiter construction to a new `operator co_await` implementation. By returning `decltype(auto)`, we become compatible with capnproto both before and after that patch.

Files changed

1 file changed~1 modified