Preparing search index...
The search index is not available
prolink-connect
prolink-connect
<internal>
PromiseWritable
Class PromiseWritable<TWritable>
Type Parameters
TWritable
extends
WritableStream
Hierarchy
PromiseWritable
Index
Constructors
constructor
Properties
_errored?
_is
Promise
Writable
error
Handler
stream
Methods
destroy
end
once
write
write
All
[has
Instance]
Constructors
constructor
new
Promise
Writable
<
TWritable
>
(
stream
:
TWritable
)
:
PromiseWritable
<
TWritable
>
Type Parameters
TWritable
extends
WritableStream
<
TWritable
>
Parameters
stream:
TWritable
Returns
PromiseWritable
<
TWritable
>
Properties
Optional
_errored
_errored
?:
Error
Readonly
_is
Promise
Writable
_is
Promise
Writable
:
boolean
Private
error
Handler
error
Handler
:
any
Readonly
stream
stream
:
TWritable
Methods
destroy
destroy
(
)
:
void
Returns
void
end
end
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
once
once
(
event
:
"close"
|
"error"
|
"finish"
)
:
Promise
<
void
>
Parameters
event:
"close"
|
"error"
|
"finish"
Returns
Promise
<
void
>
once
(
event
:
"open"
)
:
Promise
<
number
>
Parameters
event:
"open"
Returns
Promise
<
number
>
once
(
event
:
"pipe"
|
"unpipe"
)
:
Promise
<
ReadableStream
>
Parameters
event:
"pipe"
|
"unpipe"
Returns
Promise
<
ReadableStream
>
write
write
(
chunk
:
string
|
Buffer
, encoding
?:
BufferEncoding
)
:
Promise
<
number
>
Parameters
chunk:
string
|
Buffer
Optional
encoding:
BufferEncoding
Returns
Promise
<
number
>
write
All
write
All
(
content
:
string
|
Buffer
, chunkSize
?:
number
)
:
Promise
<
number
>
Parameters
content:
string
|
Buffer
Optional
chunkSize:
number
Returns
Promise
<
number
>
Static
[has
Instance]
[has
Instance]
(
instance
:
PromiseWritable
<
WritableStream
>
)
:
boolean
Parameters
instance:
PromiseWritable
<
WritableStream
>
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
prolink-
connect
<internal>
"node:stream/consumers"
"node:stream/promises"
Event
Emitter
Mutex
Interface
Span
Status
internal
finished
pipeline
CDJStatus
Promise
Writable
constructor
_errored?
_is
Promise
Writable
error
Handler
stream
destroy
end
once
write
write
All
[has
Instance]
Generated using
TypeDoc