Files
rippled/include/xrpl/nodestore/Task.h
Andrzej Budzanowski 29120dfcbd test: Migrate nodestore tests from Beast to GTest (#7292)
Co-authored-by: Marek Foss <marek.foss@neti-soft.com>
Co-authored-by: Alex Kremer <akremer@ripple.com>
2026-07-27 13:00:14 +00:00

21 lines
322 B
C++

#pragma once
namespace xrpl::node_store {
/**
* Derived classes perform scheduled tasks.
*/
struct Task
{
virtual ~Task() = default;
/**
* Performs the task.
* The call may take place on a foreign thread.
*/
virtual void
performScheduledTask() = 0;
};
} // namespace xrpl::node_store