View in context in the libbitcoin Slack #general mirror.
channel->subscribe<bc::message::inventory>(headers_subscription_handler);
const auto headers_subscription_handler = [](const bc::code& ec, bc::message::inventory::const_ptr message)