Seastar
High performance C++ framework for concurrent servers
|
co_await:s a future, returning it as result, without checking if preemption is needed.
Like coroutine::as_future, co_await-ing as_future_without_preemption_check returns the input future
as the co_await result. However, it bypasses checking if the task quota is depleted, which means that a ready future
will be handled immediately.
#include <seastar/coroutine/as_future.hh>
Public Member Functions | |
as_future_without_preemption_check (seastar::future< T > &&f) noexcept | |