MCPcopy Index your code

hub / github.com/share/sharedb / functions

Functions181 in github.com/share/sharedb

↓ 256 callersFunctionnext
(err)
lib/backend.js:215
↓ 135 callersFunctioncallback
(err, message)
lib/agent.js:365
↓ 80 callersFunctioncallback
(error, ops)
lib/backend.js:231
↓ 57 callersFunctiontest
(fields, snapshot, expected)
test/projections.js:8
↓ 31 callersFunctionsubmit
(db, collection, id, op, callback)
test/db.js:76
↓ 28 callersFunctioncallback
(error)
test/client/subscribe.js:674
↓ 17 callersFunctioncallback
()
test/middleware.js:673
↓ 17 callersFunctioncb
(err)
test/client/submit.js:632
↓ 9 callersFunctioncommitConcurrent
(db, ops, test, done)
test/db.js:90
↓ 9 callersFunctioncommitSnapshotWithMetadata
(db, cb)
test/db.js:246
↓ 8 callersFunctioncallback
(error)
test/client/presence/presence.js:394
↓ 8 callersFunctioncreate
(data)
test/client/number-type.js:13
↓ 6 callersFunctioncreateDoc
(db, callback)
test/db.js:138
↓ 5 callersFunctiondestroyStreams
(streams)
lib/backend.js:627
↓ 5 callersFunctiontransformX
(client, server)
lib/client/doc.js:536
↓ 4 callersFunctioncommonTests
(options)
test/client/query-subscribe.js:230
↓ 4 callersFunctionexpectReceiveError
( connection, collectionName, docId, expectedError, done )
test/client/doc.js:661
↓ 4 callersFunctionfinish
(err)
lib/agent.js:553
↓ 4 callersFunctiongetErrorTest
(done)
test/middleware.js:21
↓ 4 callersFunctiongetReplyErrorObject
(err)
lib/agent.js:301
↓ 4 callersFunctiongetSnapshotData
(snapshot)
lib/agent.js:625
↓ 4 callersFunctionopTests
(test)
test/client/projections.js:44
↓ 4 callersFunctionverifyConsistency
(doc, doc2, doc3, handlers, callback)
test/client/doc.js:175
↓ 3 callersFunctiondelayedReconnect
(backend, connection)
test/client/submit.js:427
↓ 3 callersFunctionexpectFidoOnly
(backend, done)
test/middleware.js:80
↓ 3 callersFunctionfinish
()
test/client/query-subscribe.js:411
↓ 3 callersFunctiongetMapResult
(snapshotMap)
lib/agent.js:609
↓ 3 callersFunctiongetResultsData
(results)
lib/agent.js:598
↓ 3 callersFunctionprojectData
(fields, data)
lib/projections.js:111
↓ 3 callersFunctionsetupOpMiddleware
(backend)
test/middleware.js:242
↓ 2 callersFunctioncommonCustomChannelsErrorHandlingTests
()
test/client/query-subscribe.js:178
↓ 2 callersFunctionconnectionState
(socket)
lib/client/connection.js:18
↓ 2 callersFunctioncreateNextTickTrigger
(args)
lib/next-tick.js:16
↓ 2 callersFunctionexpectError
(code)
test/client/doc.js:557
↓ 2 callersFunctionexpectFido
(request)
test/middleware.js:69
↓ 2 callersFunctiongetQueryOptions
(request)
lib/agent.js:504
↓ 2 callersFunctionnormalizedProtocol
(protocol)
lib/protocol.js:15
↓ 2 callersFunctionprojectSnapshot
(fields, snapshot)
lib/projections.js:15
↓ 2 callersFunctionquerySnapshot
(snapshot, query)
test/BasicQueryableMemoryDB.js:50
↓ 2 callersFunctionqueryUpdateTests
(test)
test/client/projections.js:178
↓ 2 callersFunctionrunCreateTests
()
test/client/submit.js:265
↓ 2 callersFunctiontestBulkSnapshotSpecificError
(label, fns)
test/client/subscribe.js:221
↓ 2 callersFunctiontestSingleSnapshotSpecificError
(label, fns)
test/client/subscribe.js:48
↓ 2 callersFunctionwrapErrorData
(errorData, fullMessage)
lib/client/connection.js:267
↓ 1 callersFunctionapplyOpEdit
(snapshot, edit)
lib/ot.js:104
↓ 1 callersFunctionbadFunction
()
test/error.js:21
↓ 1 callersFunctioncombineCallbacks
(callbacks)
lib/client/doc.js:503
↓ 1 callersFunctionconnect
()
examples/rich-text-presence/client.js:106
↓ 1 callersFunctioncreateClientOp
(request, clientId)
lib/agent.js:985
↓ 1 callersFunctioncreateDoc
(callback)
examples/counter/server.js:11
↓ 1 callersFunctioncreateDoc
(callback)
examples/counter-json1/server.js:13
↓ 1 callersFunctioncreateDoc
(callback)
examples/rich-text/server.js:13
↓ 1 callersFunctioncreateDoc
(callback)
examples/rich-text-presence/server.js:16
↓ 1 callersFunctioncreateDoc
(callback)
examples/textarea/server.js:11
↓ 1 callersFunctioncreateDoc
(callback)
examples/counter-json1-vite/server.js:13
↓ 1 callersFunctioncreateQueryEmitter
()
lib/backend.js:688
↓ 1 callersFunctiondeserialize
(array)
test/client/deserialized-type.js:53
↓ 1 callersFunctiondeserializedApply
(node, op)
test/client/deserialized-type.js:73
↓ 1 callersFunctiondisconnect
()
examples/rich-text-presence/client.js:102
↓ 1 callersFunctionexpectFidoAndSpot
(backend, done)
test/middleware.js:91
↓ 1 callersFunctionexpectSpot
(request)
test/middleware.js:74
↓ 1 callersFunctionfilterOpsInPlaceBeforeTimestamp
(ops, timestamp)
lib/backend.js:951
↓ 1 callersFunctionfinish
(err)
lib/backend.js:108
↓ 1 callersFunctionfinish
(err)
lib/client/query.js:114
↓ 1 callersFunctiongetInserted
(diff)
lib/query-emitter.js:324
↓ 1 callersFunctioninitialiseQuill
(doc)
examples/rich-text-presence/client.js:38
↓ 1 callersFunctionisEditAllowed
(fields, op)
lib/projections.js:99
↓ 1 callersFunctionisSnapshotAllowed
(fields, snapshot)
lib/projections.js:82
↓ 1 callersFunctionmapDiff
(idsDiff, snapshotMap)
lib/query-emitter.js:337
↓ 1 callersFunctionnormalizeLegacyJson0Ops
* json0 had a breaking change in https://github.com/ottypes/json0/pull/40 * The change added stricter type checking, which breaks fetchSnapshot() *
lib/ot.js:234
↓ 1 callersFunctionpluckIds
(snapshots)
lib/backend.js:943
↓ 1 callersFunctionprojectEdit
(fields, op)
lib/projections.js:39
↓ 1 callersMethodrender
()
examples/leaderboard/client/Player.jsx:31
↓ 1 callersMethodselectedPlayer
()
examples/leaderboard/client/Leaderboard.jsx:33
↓ 1 callersFunctionserializedApply
(array, op)
test/client/deserialized-type.js:85
↓ 1 callersFunctionsetNoOp
(op)
lib/client/doc.js:529
↓ 1 callersFunctionshallowCopy
(object)
lib/agent.js:996
↓ 1 callersFunctionsnapshotComparator
(sortProperties)
test/BasicQueryableMemoryDB.js:70
↓ 1 callersFunctiontestDelCommit
(ops, snapshot)
test/db.js:150
↓ 1 callersFunctiontestOpCommit
(ops, snapshot)
test/db.js:143
↓ 1 callersFunctiontimestampGreaterThanOrEqualTo
(timestamp)
lib/milestone-db/memory.js:121
↓ 1 callersFunctiontimestampLessThanOrEqualTo
(timestamp)
lib/milestone-db/memory.js:132
↓ 1 callersFunctiontoggleConnection
(button)
examples/rich-text-presence/client.js:90
↓ 1 callersFunctiontransformer
(agent, presence, callback)
lib/agent.js:830
↓ 1 callersFunctionversionLessThanOrEqualTo
(version)
lib/milestone-db/memory.js:111
FunctionAgent
* Agent deserializes the wire protocol messages received from the stream and * calls the corresponding functions on its Agent. It uses the return val
lib/agent.js:20
FunctionBackend
(options)
lib/backend.js:21
FunctionBasicQueryableMemoryDB
()
test/BasicQueryableMemoryDB.js:8
FunctionBody
()
examples/leaderboard/client/Body.jsx:4
FunctionConnection
(socket)
lib/client/connection.js:39
FunctionCreateOp
(src, seq, v, create, x, c, d, m)
lib/agent.js:1006
FunctionDB
(options)
lib/db/index.js:6
FunctionDeleteOp
(src, seq, v, del, x, c, d, m)
lib/agent.js:1026
FunctionDoc
(connection, collection, id)
lib/client/doc.js:55
FunctionDocPresence
(connection, collection, id)
lib/client/presence/doc-presence.js:5
FunctionDocPresenceEmitter
()
lib/client/presence/doc-presence-emitter.js:14
FunctionEditOp
(src, seq, v, op, x, c, d, m)
lib/agent.js:1016
FunctionLocalDocPresence
(presence, presenceId)
lib/client/presence/local-doc-presence.js:7
FunctionLocalPresence
(presence, presenceId)
lib/client/presence/local-presence.js:6
FunctionLogger
()
lib/logger/logger.js:7
next →1–100 of 181, ranked by callers