Type Alias: ListenCollectionProps<M>
ListenCollectionProps<
M
>:FetchCollectionProps
<M
> &object
Type declaration​
onError()?​
optional
onError: (error
) =>void
Parameters​
• error: Error
Returns​
void
onUpdate()​
onUpdate: (
entities
) =>void
Parameters​
• entities: Entity
<M
>[]
Returns​
void
Type Parameters​
• M extends Record
<string
, any
> = any