boost::corosio::io_stream::do_write_some

Dispatch write through implementation vtable.

Synopsis

virtual
std::coroutine_handle<>
do_write_some(
    capy::continuation& cont,
    capy::executor_ref ex,
    buffer_param buffers,
    std::stop_token token,
    std::error_code* ec,
    std::size_t* bytes) override;

Return Value

Coroutine handle to resume immediately.

Parameters

Name

Description

cont

Continuation to resume on completion; it lives in the awaiting frame until then.

ex

Executor for dispatching the completion.

buffers

Source buffer sequence.

token

Stop token for cancellation.

ec

Output error code.

bytes

Output bytes transferred.

Created with MrDocs