writeStringUtf8

abstract fun writeStringUtf8(scope: CoroutineScope, value: String): Deferred<Unit>

异步地将一个字符串以 UTF-8 编码写入通道。

Return

一个 Deferred<Unit> 对象,在写入完成后完成。

Parameters

scope

执行异步写入操作的协程作用域。

value

要写入的 String 值。