Scoop API

scoop:scoop.http.asyncio:0.1.0

Companion

object Companion

source · line 18
public
public companion

Factories that transfer underlying endpoint cleanup responsibility.

function takeOwnership

source · line 23
public
public fun <T> takeOwnership(source: T, limits: SseLimits = SseLimits(), initialLastEventId: String = "", bufferSize: Long = 8192L): SseSource where T : AsyncByteSource, T : AsyncCloseable

Creates the adapter and assumes cleanup responsibility for the supplied asynchronous endpoint.