Preparing search index...
The search index is not available
Ditto JS SDK v4.8.1-rc.1
Ditto JS SDK v4.8.1-rc.1
SingleObservationHandler
Type alias SingleObservationHandler
Single
Observation
Handler
:
(
(
document
,
event
,
signalNext
?
)
=>
void
|
Promise
<
void
>
)
The closure that is called whenever a single documunent covered by a live query changes.
Type declaration
(
document
,
event
,
signalNext
?
)
:
void
|
Promise
<
void
>
Parameters
document
:
Document
|
null
event
:
SingleDocumentLiveQueryEvent
Optional
signalNext
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
void
|
Promise
<
void
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Ditto JS SDK v4.8.1-rc.1
Attachment
AttachmentFetcher
AttachmentToken
Authenticator
BasePendingCursorOperation
BasePendingIDSpecificOperation
Collection
CollectionsEvent
ConnectionRequest
Counter
Ditto
DittoError
Document
DocumentID
DocumentPath
LiveQuery
LiveQueryEventInitial
LiveQueryEventUpdate
Logger
MutableCounter
MutableDocument
MutableDocumentPath
MutableRegister
Observer
PendingCollectionsOperation
PendingCursorOperation
PendingIDSpecificOperation
Presence
QueryResult
QueryResultItem
Register
SingleDocumentLiveQueryEvent
SmallPeerInfo
Store
StoreObserver
Subscription
Sync
SyncSubscription
TransportConfig
UpdateResult
UpdateResultsMap
WriteTransaction
WriteTransactionCollection
WriteTransactionPendingCursorOperation
WriteTransactionPendingIDSpecificOperation
AuthenticationHandler
CollectionInterface
IdentityManual
IdentityOfflinePlayground
IdentityOnlinePlayground
IdentityOnlineWithAuthentication
IdentitySharedKey
LiveQueryMove
TransportConfigConnect
TransportConfigGlobal
TransportConfigLan
TransportConfigListen
TransportConfigListenHTTP
TransportConfigListenTCP
TransportConfigPeerToPeer
WriteTransactionResult
Address
AttachmentFetchEvent
AttachmentFetchEventCompleted
AttachmentFetchEventDeleted
AttachmentFetchEventProgress
AttachmentFetchEventType
AttachmentMetadata
AuthenticationStatus
CollectionsObservationHandler
ConditionSource
Connection
ConnectionRequestAuthorization
ConnectionRequestHandler
ConnectionType
CustomLogCallback
DQLQueryArgumentValue
DQLQueryArguments
DocumentIDValue
DocumentValue
ErrorCode
ErrorContext
Identity
InitOptions
LiveQueryEvent
LogLevel
Peer
PresenceConnectionType
PresenceGraph
QueryArguments
QueryObservationHandler
RemotePeer
SingleObservationHandler
SmallPeerInfoSyncScope
SortDirection
StoreObservationHandler
StoreObservationHandlerWithSignalNext
TransportCondition
UpdateResultType
UpsertOptions
WebAssemblyModule
WriteStrategy
ERROR_CODES
IdentityTypesRequiringOfflineLicenseToken
addressToString
getBridgeLoad
init
The closure that is called whenever a single documunent covered by a live query changes.