Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
notifications_interface.h File Reference
#include <cstdint>
#include <variant>
Include dependency graph for notifications_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kernel::Interrupted
 Result type for use with std::variant to indicate that an operation should be interrupted. More...
class  kernel::Notifications
 A base class defining functions for notifying about certain kernel events. More...

Namespaces

namespace  kernel

Typedefs

using kernel::InterruptResult = std::variant<std::monostate, Interrupted>
 Simple result type for functions that need to propagate an interrupt status and don't have other return values.

Functions

template<typename T>
bool kernel::IsInterrupted (const T &result)