Search
Preparing search index...
The search index is not available
simple-fake-stream — Reference
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Stream
Interface Stream<Chunk, Err>
Interface of a stream
Type parameters
Chunk
:
string
|
Buffer
Err =
any
Hierarchy
ReadableStream
<
Chunk
,
Err
>
WritableStream
<
Chunk
>
Stream
Implemented by
StreamInstance
Index
Properties
on
once
Methods
[
Symbol.async
Iterator]
write
Properties
Readonly
on
on
:
EventedStream.ListenerModifier
<
Chunk
,
Err
>
Readonly
once
once
:
EventedStream.ListenerModifier
<
Chunk
,
Err
>
Methods
[
Symbol.async
Iterator]
[
Symbol.async
Iterator]
(
)
:
AsyncIterator
<
Chunk
>
Returns
AsyncIterator
<
Chunk
>
write
write
(
chunk
:
Chunk
)
:
void
Parameters
chunk:
Chunk
Returns
void
Globals
Method
Name
Stream
Instance
Any
Class
Evented
Readable
Stream
Iterable
Readable
Stream
Readable
Stream
Stream
on
once
[
Symbol.async
Iterator]
write
Stream
Database
Writable
Stream
get
String
Generated using
TypeDoc
Interface of a stream