@ptkl/sdk - v1.3.4
Preparing search index...
v0.10/types/component
AggregateChainable
Type Alias AggregateChainable
Chainable aggregate result that supports both buffered and streaming modes
type
AggregateChainable
=
{
catch
:
(
reject
:
(
error
:
any
)
=>
any
)
=>
Promise
<
any
>
;
onData
:
(
callback
:
StreamCallback
)
=>
AggregateChainable
;
onEnd
:
(
callback
:
()
=>
void
)
=>
AggregateChainable
;
onError
:
(
callback
:
(
error
:
Error
)
=>
void
)
=>
AggregateChainable
;
then
:
<
T
>
(
resolve
?:
(
value
:
any
)
=>
T
,
reject
?:
(
error
:
any
)
=>
any
,
)
=>
Promise
<
T
>
;
}
Index
Properties
catch
on
Data
on
End
on
Error
then
Properties
catch
catch
:
(
reject
:
(
error
:
any
)
=>
any
)
=>
Promise
<
any
>
on
Data
onData
:
(
callback
:
StreamCallback
)
=>
AggregateChainable
on
End
onEnd
:
(
callback
:
()
=>
void
)
=>
AggregateChainable
on
Error
onError
:
(
callback
:
(
error
:
Error
)
=>
void
)
=>
AggregateChainable
then
then
:
<
T
>
(
resolve
?:
(
value
:
any
)
=>
T
,
reject
?:
(
error
:
any
)
=>
any
,
)
=>
Promise
<
T
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
catch
on
Data
on
End
on
Error
then
@ptkl/sdk - v1.3.4
Loading...
Chainable aggregate result that supports both buffered and streaming modes