Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | List of all members
seastar::coroutine::as_future_without_preemption_check< T > Class Template Reference

Detailed Description

template<typename T = void>
class seastar::coroutine::as_future_without_preemption_check< T >

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>

Inheritance diagram for seastar::coroutine::as_future_without_preemption_check< T >:

Public Member Functions

 as_future_without_preemption_check (seastar::future< T > &&f) noexcept
 

The documentation for this class was generated from the following file: