MCPcopy Create free account
hub / github.com/cinder/Cinder / get

Method get

include/asio/impl/spawn.hpp:185–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 }
184
185 return_type get()
186 {
187 // Must not hold shared_ptr to coro while suspended.
188 handler_.coro_.reset();
189
190 if (--ready_ != 0)
191 ca_();
192 if (!out_ec_ && ec_) throw asio::system_error(ec_);
193 return ASIO_MOVE_CAST(return_type)(value_);
194 }
195
196 private:
197 completion_handler_type& handler_;

Callers 1

Calls 2

system_errorClass · 0.85
resetMethod · 0.45

Tested by

no test coverage detected