boost::capy::any_write_sink::write_eof

Signal end of data.

Synopsis

auto
write_eof();

Description

Indicates that no more data will be written to the sink. The operation completes when the sink is finalized, or an error occurs.

Immediate Completion

The operation completes immediately without suspending the calling coroutine when the underlying sink's awaitable reports immediate readiness via await_ready.

Preconditions

The wrapper must contain a valid sink (has_value() == true).

Return Value

An awaitable yielding (error_code).

Created with MrDocs