Search
Preparing search index...
The search index is not available
LapisDB
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
ValueStream
Class ValueStream<T>
Type parameters
T
Hierarchy
ValueStream
Index
Constructors
constructor
Properties
_internal
OnClose
_middleware
_on
Close
_on
Data
_on
Error
_stream
closed
Accessors
middleware
on
Close
on
Data
on
Error
Methods
until
End
Constructors
constructor
new
Value
Stream
(
stream
:
ReadableStream
)
:
ValueStream
Parameters
stream:
ReadableStream
Returns
ValueStream
Properties
Private
_internal
OnClose
_internal
OnClose
:
function
Type declaration
(
)
:
void
Returns
void
Private
_middleware
_middleware
:
function
Type declaration
(
data
:
any
)
:
boolean
Parameters
data:
any
Returns
boolean
Private
_on
Close
_on
Close
:
function
Type declaration
(
)
:
void
Returns
void
Private
_on
Data
_on
Data
:
function
Type declaration
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
Private
_on
Error
_on
Error
:
function
Type declaration
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
_stream
_stream
:
ReadableStream
Private
closed
closed
:
boolean
= false
Accessors
middleware
set
middleware
(
value
:
function
)
:
void
Parameters
value:
function
(
data
:
IObjectFields
<
T
>
)
:
boolean
Parameters
data:
IObjectFields
<
T
>
Returns
boolean
Returns
void
on
Close
set
onClose
(
value
:
function
)
:
void
Parameters
value:
function
(
)
:
void
Returns
void
Returns
void
on
Data
set
onData
(
value
:
function
)
:
void
Parameters
value:
function
(
data
:
IObjectFields
<
T
>
)
:
void
Parameters
data:
IObjectFields
<
T
>
Returns
void
Returns
void
on
Error
set
onError
(
value
:
function
)
:
void
Parameters
value:
function
(
err
:
any
)
:
void
Parameters
err:
any
Returns
void
Returns
void
Methods
until
End
until
End
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Globals
Sort
Direction
Base
Operation
Batched
Delete
Operation
Batched
Push
Operation
Datastore
Datastore
Operations
Delete
Operation
Edit
Operation
Filter
Operator
Get
Operation
Model
Push
Operation
Sort
Operator
Utils
Value
Stream
constructor
_internal
OnClose
_middleware
_on
Close
_on
Data
_on
Error
_stream
closed
middleware
on
Close
on
Data
on
Error
until
End
Datastore
Stream
Iterator
Data
IObject
Metadata
ISort
Field
Pagination
Data
Allowed
Flags
Filter
Flags
IComparator
IEdit
IFilter
IObject
Fields
ISort
test
Store
Unique
test
Create
Random
Planets
Generated using
TypeDoc