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