finish

abstract suspend fun finish()(source)

Gracefully signals that no more text will be sent.

Completion is reported through events. If the server does not finish within RealtimeTtsTimeouts.finishTimeoutMillis, that flow terminates with an error.

Throws

if sending the finish signal times out.