toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.streams
/
ReadableStreamDefaultReader
Readable
Stream
Default
Reader
open
external
class
ReadableStreamDefaultReader
<
R
>
(
stream
:
ReadableStream
<
R
>
)
:
ReadableStreamGenericReader
(
source
)
MDN Reference
Members
Constructors
Readable
Stream
Default
Reader
Link copied to clipboard
constructor
(
stream
:
ReadableStream
<
R
>
)
Properties
closed
Link copied to clipboard
open
val
closed
:
Promise
<
Void
>
MDN Reference
Functions
cancel
Link copied to clipboard
open
suspend
fun
cancel
(
reason
:
JsError
?
=
definedExternally
)
MDN Reference
cancel
Async
Link copied to clipboard
open
fun
cancelAsync
(
reason
:
JsError
?
=
definedExternally
)
:
Promise
<
Void
>
read
Link copied to clipboard
suspend
fun
read
(
)
:
ReadableStreamReadResult
<
R
>
MDN Reference
read
Async
Link copied to clipboard
fun
readAsync
(
)
:
Promise
<
ReadableStreamReadResult
<
R
>
>
release
Lock
Link copied to clipboard
fun
releaseLock
(
)
MDN Reference