]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Add run_coro utility
authorAdam C. Emerson <aemerson@redhat.com>
Fri, 18 Apr 2025 07:27:36 +0000 (03:27 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 6 Aug 2025 20:03:04 +0000 (16:03 -0400)
commit9f17b631ded92da354d0b65f4749e199481a0f5a
treed728181101aa576262679004173e370d4b9605fb
parente81d4eae4e76f9c279cd8f146dd6cc132a5ed51a
rgw: Add run_coro utility

A convenience function for turning coroutines that return values and
use exceptions, `error_code`, or similar into `int`-returning
functions that take references to out parameters.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/common/async/concepts.h
src/common/async/librados_completion.h
src/common/error_code.h
src/rgw/async_utils.h [new file with mode: 0644]