diff --git a/include/bitcoin/node/chasers/chaser.hpp b/include/bitcoin/node/chasers/chaser.hpp index a30ee7d3..4c3894d0 100644 --- a/include/bitcoin/node/chasers/chaser.hpp +++ b/include/bitcoin/node/chasers/chaser.hpp @@ -156,6 +156,9 @@ class BCN_API chaser #define SUBSCRIBE_EVENTS(method, ...) \ subscribe_events(BIND(method, __VA_ARGS__)) +#define PARALLEL(method, ...) \ + boost::asio::post(threadpool_.service(), BIND(method, __VA_ARGS__)); + } // namespace node } // namespace libbitcoin