Package-level declarations

Types

Link copied to clipboard
typealias ByteArrayFlow = Flow<ByteArray>
Link copied to clipboard
interface Concurrent<R, W : R>
Link copied to clipboard
class ConcurrentImpl<R, W : R>(constructor: () -> W) : Concurrent<R, W>
Link copied to clipboard
open class KeyedMutex<K : Any>

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun byteArrayFlowFromReadableStream(streamFactory: suspend () -> ReadableStream<Uint8Array>): Flow<ByteArray>
Link copied to clipboard
fun byteArrayFlowFromSource(coroutineContext: CoroutineContext = ioContext, sourceFactory: suspend () -> Source): Flow<ByteArray>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <R, W : R> concurrentOf(constructor: () -> W): Concurrent<R, W>
Link copied to clipboard
Link copied to clipboard
fun FileSystem.readByteArrayFlow(path: Path, coroutineContext: CoroutineContext = ioContext): ByteArrayFlow?
Link copied to clipboard
Link copied to clipboard
fun ByteReadChannel.toByteArrayFlow(): ByteArrayFlow

The returned Flow can only be collected once!

Link copied to clipboard
suspend fun ByteArrayFlow.toByteReadChannel(): ByteReadChannel
Link copied to clipboard
suspend fun BufferedSink.write(content: ByteArrayFlow, coroutineContext: CoroutineContext = ioContext)
suspend fun FileSystem.write(path: Path, content: ByteArrayFlow, coroutineContext: CoroutineContext = ioContext)
suspend fun WritableStream<Uint8Array>.write(content: ByteArrayFlow)
Link copied to clipboard
suspend fun ByteArrayFlow.writeTo(byteWriteChannel: ByteWriteChannel)
suspend fun ByteArrayFlow.writeTo(sink: BufferedSink, coroutineContext: CoroutineContext = ioContext)
suspend fun ByteArrayFlow.writeTo(writableStream: WritableStream<Uint8Array>)