Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::StopHelper Class Reference

Helper class to stop a class asynchronously. More...

#include <StopHelper.hpp>

Public Member Functions

void readyToStop ()
 Notify that the class is ready to stop.
 
void asyncWaitForStop (boost::asio::yield_context yield)
 Wait for the class to stop.
 

Detailed Description

Helper class to stop a class asynchronously.

Member Function Documentation

◆ asyncWaitForStop()

void util::StopHelper::asyncWaitForStop ( boost::asio::yield_context yield)

Wait for the class to stop.

Parameters
yieldThe coroutine context

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