1#ifndef XRPL_SERVER_SPAWN_H_INCLUDED 
    2#define XRPL_SERVER_SPAWN_H_INCLUDED 
    4#include <xrpl/basics/Log.h> 
    6#include <boost/asio/spawn.hpp> 
    7#include <boost/asio/strand.hpp> 
   18    boost::asio::strand<typename std::decay_t<T>::inner_executor_type>>;
 
   39            JLOG(
debugLog().warn()) << 
"Spawn exception: " << e.
what();
 
   44            JLOG(
debugLog().warn()) << 
"Spawn exception: Unknown";
 
 
 
   65template <
typename Ctx, 
typename F>
 
   80            boost::asio::make_strand(
 
 
 
constexpr auto kPROPAGATE_EXCEPTIONS
A completion handler that restores boost::asio::spawn's behaviour from Boost 1.83.
 
void spawn(Ctx &&ctx, F &&func)
Spawns a coroutine using boost::asio::spawn
 
beast::Journal debugLog()
Returns a debug journal.
 
T rethrow_exception(T... args)