object Companion
source · line 12public
public companion
function takeOwnership
source · line 14public
public fun <T> takeOwnership(source: T, maxRecordBytes: Long = 1048576L, bufferSize: Long = 8192L): NdjsonSource where T : AsyncByteSource, T : AsyncCloseable
Transfers cleanup responsibility only after successful construction.
type parameter T
source · line 14public
T
parameter bufferSize
source · line 14public
bufferSize: Long = 8192L
parameter source
source · line 14public
source: T
parameter maxRecordBytes
source · line 14public
maxRecordBytes: Long = 1048576L