Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
ReadableStreamDefaultController
Interface ReadableStreamDefaultController<R>
MDN Reference
interface
ReadableStreamDefaultController
<
R
>
{
get
desiredSize
():
number
;
close
(
)
:
void
;
enqueue
(
chunk
?
)
:
void
;
error
(
reason
)
:
void
;
}
Type Parameters
R
=
any
Index
Accessors
desired
Size
Methods
close
enqueue
error
Accessors
desired
Size
get
desiredSize
(
)
:
number
MDN Reference
Returns
number
Methods
close
close
(
)
:
void
MDN Reference
Returns
void
enqueue
enqueue
(
chunk
?
)
:
void
MDN Reference
Parameters
Optional
chunk
:
R
Returns
void
error
error
(
reason
)
:
void
MDN Reference
Parameters
reason
:
any
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
desired
Size
close
enqueue
error
@cloudflare/workers-types
Loading...
MDN Reference