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>
7.0 KiB
displayed_sidebar
| displayed_sidebar |
|---|
| jsClientSidebar |
Interface: DuplexOptions
internal.DuplexOptions
Hierarchy
-
↳
DuplexOptions
Properties
allowHalfOpen
• Optional allowHalfOpen: boolean
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:831
autoDestroy
• Optional autoDestroy: boolean
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:776
decodeStrings
• Optional decodeStrings: boolean
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:800
defaultEncoding
• Optional defaultEncoding: BufferEncoding
Inherited from
WritableOptions.defaultEncoding
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:801
emitClose
• Optional emitClose: boolean
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:771
encoding
• Optional encoding: BufferEncoding
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:779
highWaterMark
• Optional highWaterMark: number
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:772
objectMode
• Optional objectMode: boolean
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:773
readableHighWaterMark
• Optional readableHighWaterMark: number
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:834
readableObjectMode
• Optional readableObjectMode: boolean
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:832
signal
• Optional signal: AbortSignal
When provided the corresponding AbortController can be used to cancel an asynchronous action.
Inherited from
Defined in
packages/medusa-js/node_modules/@types/node/events.d.ts:380
writableCorked
• Optional writableCorked: number
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:836
writableHighWaterMark
• Optional writableHighWaterMark: number
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:835
writableObjectMode
• Optional writableObjectMode: boolean
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:833
Methods
construct
▸ Optional construct(this, callback): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
callback |
(error?: null | Error) => void |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:837
destroy
▸ Optional destroy(this, error, callback): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
error |
null | Error |
callback |
(error: null | Error) => void |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:849
final
▸ Optional final(this, callback): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
callback |
(error?: null | Error) => void |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:848
read
▸ Optional read(this, size): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
size |
number |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:838
write
▸ Optional write(this, chunk, encoding, callback): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
chunk |
any |
encoding |
BufferEncoding |
callback |
(error?: null | Error) => void |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:839
writev
▸ Optional writev(this, chunks, callback): void
Parameters
| Name | Type |
|---|---|
this |
Duplex |
chunks |
{ chunk: any ; encoding: BufferEncoding }[] |
callback |
(error?: null | Error) => void |
Returns
void
Overrides
Defined in
packages/medusa-js/node_modules/@types/node/stream.d.ts:840