Seastar
High performance C++ framework for concurrent servers
Classes | Namespaces | Functions
closeable.hh File Reference
#include <functional>
#include <seastar/core/future.hh>
#include <seastar/util/concepts.hh>
#include <seastar/util/defer.hh>

Go to the source code of this file.

Classes

class  seastar::deferred_close< Object >
 
class  seastar::deferred_stop< Object >
 

Namespaces

 seastar
 Seastar API namespace.
 

Functions

template<typename Closeable , typename Func >
futurize_t< std::invoke_result_t< Func, Closeable & > > seastar::with_closeable (Closeable &&obj, Func func) noexcept
 
template<typename Stoppable , typename Func >
futurize_t< std::invoke_result_t< Func, Stoppable & > > seastar::with_stoppable (Stoppable &&obj, Func func) noexcept