Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2.4 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Interface: WritableStreamDefaultWriter<W>
internal.WritableStreamDefaultWriter
This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.
Type parameters
| Name | Type |
|---|---|
W |
any |
Properties
closed
• Readonly closed: Promise<undefined>
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26060
desiredSize
• Readonly desiredSize: null | number
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26062
ready
• Readonly ready: Promise<undefined>
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26064
Methods
abort
▸ abort(reason?): Promise<void>
Parameters
| Name | Type |
|---|---|
reason? |
any |
Returns
Promise<void>
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26066
close
▸ close(): Promise<void>
Returns
Promise<void>
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26068
releaseLock
▸ releaseLock(): void
Returns
void
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26070
write
▸ write(chunk?): Promise<void>
Parameters
| Name | Type |
|---|---|
chunk? |
W |
Returns
Promise<void>
Defined in
docs-util/node_modules/typescript/lib/lib.dom.d.ts:26072