5#ifndef BITCOIN_INTERFACES_HANDLER_H
6#define BITCOIN_INTERFACES_HANDLER_H
32std::unique_ptr<Handler>
MakeSignalHandler(boost::signals2::connection connection);
Generic interface for managing an event handler or callback function registered with another interfac...
virtual ~Handler()=default
virtual void disconnect()=0
Disconnect the handler.
std::unique_ptr< Handler > MakeSignalHandler(boost::signals2::connection connection)
Return handler wrapping a boost signal connection.
std::unique_ptr< Handler > MakeCleanupHandler(std::function< void()> cleanup)
Return handler wrapping a cleanup function.