Preparing search index...
The search index is not available
@cloudflare/workers-types
@cloudflare/workers-types
WritableStream
Class WritableStream<W>
Type Parameters
W
=
any
Hierarchy (
view full
)
WritableStream
DigestStream
Index
Constructors
constructor
Properties
locked
Methods
abort
close
get
Writer
Constructors
constructor
new
Writable
Stream
<
W
>
(
underlyingSink
?
,
queuingStrategy
?
)
:
WritableStream
<
W
>
Type Parameters
W
=
any
Parameters
Optional
underlyingSink
:
UnderlyingSink
<
any
>
Optional
queuingStrategy
:
QueuingStrategy
<
any
>
Returns
WritableStream
<
W
>
Properties
Readonly
locked
locked
:
boolean
MDN Reference
Methods
abort
abort
(
reason
?
)
:
Promise
<
void
>
MDN Reference
Parameters
Optional
reason
:
any
Returns
Promise
<
void
>
close
close
(
)
:
Promise
<
void
>
MDN Reference
Returns
Promise
<
void
>
get
Writer
get
Writer
(
)
:
WritableStreamDefaultWriter
<
W
>
MDN Reference
Returns
WritableStreamDefaultWriter
<
W
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
locked
abort
close
get
Writer
@cloudflare/workers-types
Loading...
MDN Reference