示例#1
0
 void wait( const fc::microseconds& timeout_us )
 {
   _probe_complete_promise->wait( timeout_us );
 }
示例#2
0
 void wait()
 {
   _probe_complete_promise->wait();
 }
示例#3
0
 void on_connection_closed(graphene::net::peer_connection* originating_peer) override
 {
   _done = true;
   _probe_complete_promise->set_value();
 }
示例#4
0
 void block_applied(const block_summary& summary) override
 {
    if (summary.block_data.block_num >= _block_number)
       _completion_promise->set_value();
 }