@bzr/bazaar
Docs
Preparing search index...
arrayMirrorSubscribeListener
Function arrayMirrorSubscribeListener
Types of errors that can return from the API
arrayMirrorSubscribeListener
<
T
extends
Doc
>
(
data
:
T
[]
,
listener
?:
SubscribeListener
<
T
>
,
)
:
{
onAdd
:
(
doc
:
T
)
=>
void
;
onChange
:
(
oldDoc
:
T
,
newDoc
:
T
)
=>
void
;
onDelete
:
(
doc
:
T
)
=>
void
;
onInitial
:
(
doc
:
T
)
=>
void
;
}
Type Parameters
T
extends
Doc
Parameters
data
:
T
[]
Optional
listener
:
SubscribeListener
<
T
>
Returns
{
onAdd
:
(
doc
:
T
)
=>
void
;
onChange
:
(
oldDoc
:
T
,
newDoc
:
T
)
=>
void
;
onDelete
:
(
doc
:
T
)
=>
void
;
onInitial
:
(
doc
:
T
)
=>
void
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
@bzr/bazaar
Loading...
Types of errors that can return from the API