MCPcopy Create free account
hub / github.com/boostorg/asio / async_write_some

Function async_write_some

include/boost/asio/basic_serial_port.hpp:761–771  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

759 BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
760 std::size_t)) WriteToken = default_completion_token_t<executor_type>>
761 auto async_write_some(const ConstBufferSequence& buffers,
762 WriteToken&& token = default_completion_token_t<executor_type>())
763 -> decltype(
764 async_initiate<WriteToken,
765 void (boost::system::error_code, std::size_t)>(
766 declval<initiate_async_write_some>(), token, buffers))
767 {
768 return async_initiate<WriteToken,
769 void (boost::system::error_code, std::size_t)>(
770 initiate_async_write_some(this), token, buffers);
771 }
772
773 /// Read some data from the serial port.
774 /**

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected