edenman
10/31/2024, 6:57 PMSource
from a ByteReadChannel
?edenman
10/31/2024, 6:57 PMjw
10/31/2024, 7:21 PMjw
10/31/2024, 7:23 PMrunBlocking
which is bad because the Source
could already be inside a coroutine on an IO thread. And you're not supposed to do that.jw
10/31/2024, 7:24 PMRawSource.read
is that it will obtain at least a single byte, and that requires blocking which an async mechanism just can't fulfill.edenman
10/31/2024, 7:24 PMedenman
10/31/2024, 7:25 PMjw
10/31/2024, 7:26 PMPipe
which is closer to what's needed hereedenman
10/31/2024, 7:26 PMedenman
10/31/2024, 7:27 PMjw
10/31/2024, 7:28 PMjw
10/31/2024, 7:28 PMedenman
10/31/2024, 7:29 PMjw
10/31/2024, 7:31 PMedenman
10/31/2024, 7:58 PMAleksei Tirman [JB]
11/01/2024, 7:39 AM