Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/share/sharedb
/ functions
Functions
181 in github.com/share/sharedb
⨍
Functions
181
◇
Types & classes
4
↓ 256 callers
Function
next
(err)
lib/backend.js:215
↓ 135 callers
Function
callback
(err, message)
lib/agent.js:365
↓ 80 callers
Function
callback
(error, ops)
lib/backend.js:231
↓ 57 callers
Function
test
(fields, snapshot, expected)
test/projections.js:8
↓ 31 callers
Function
submit
(db, collection, id, op, callback)
test/db.js:76
↓ 28 callers
Function
callback
(error)
test/client/subscribe.js:674
↓ 17 callers
Function
callback
()
test/middleware.js:673
↓ 17 callers
Function
cb
(err)
test/client/submit.js:632
↓ 9 callers
Function
commitConcurrent
(db, ops, test, done)
test/db.js:90
↓ 9 callers
Function
commitSnapshotWithMetadata
(db, cb)
test/db.js:246
↓ 8 callers
Function
callback
(error)
test/client/presence/presence.js:394
↓ 8 callers
Function
create
(data)
test/client/number-type.js:13
↓ 6 callers
Function
createDoc
(db, callback)
test/db.js:138
↓ 5 callers
Function
destroyStreams
(streams)
lib/backend.js:627
↓ 5 callers
Function
transformX
(client, server)
lib/client/doc.js:536
↓ 4 callers
Function
commonTests
(options)
test/client/query-subscribe.js:230
↓ 4 callers
Function
expectReceiveError
( connection, collectionName, docId, expectedError, done )
test/client/doc.js:661
↓ 4 callers
Function
finish
(err)
lib/agent.js:553
↓ 4 callers
Function
getErrorTest
(done)
test/middleware.js:21
↓ 4 callers
Function
getReplyErrorObject
(err)
lib/agent.js:301
↓ 4 callers
Function
getSnapshotData
(snapshot)
lib/agent.js:625
↓ 4 callers
Function
opTests
(test)
test/client/projections.js:44
↓ 4 callers
Function
verifyConsistency
(doc, doc2, doc3, handlers, callback)
test/client/doc.js:175
↓ 3 callers
Function
delayedReconnect
(backend, connection)
test/client/submit.js:427
↓ 3 callers
Function
expectFidoOnly
(backend, done)
test/middleware.js:80
↓ 3 callers
Function
finish
()
test/client/query-subscribe.js:411
↓ 3 callers
Function
getMapResult
(snapshotMap)
lib/agent.js:609
↓ 3 callers
Function
getResultsData
(results)
lib/agent.js:598
↓ 3 callers
Function
projectData
(fields, data)
lib/projections.js:111
↓ 3 callers
Function
setupOpMiddleware
(backend)
test/middleware.js:242
↓ 2 callers
Function
commonCustomChannelsErrorHandlingTests
()
test/client/query-subscribe.js:178
↓ 2 callers
Function
connectionState
(socket)
lib/client/connection.js:18
↓ 2 callers
Function
createNextTickTrigger
(args)
lib/next-tick.js:16
↓ 2 callers
Function
expectError
(code)
test/client/doc.js:557
↓ 2 callers
Function
expectFido
(request)
test/middleware.js:69
↓ 2 callers
Function
getQueryOptions
(request)
lib/agent.js:504
↓ 2 callers
Function
normalizedProtocol
(protocol)
lib/protocol.js:15
↓ 2 callers
Function
projectSnapshot
(fields, snapshot)
lib/projections.js:15
↓ 2 callers
Function
querySnapshot
(snapshot, query)
test/BasicQueryableMemoryDB.js:50
↓ 2 callers
Function
queryUpdateTests
(test)
test/client/projections.js:178
↓ 2 callers
Function
runCreateTests
()
test/client/submit.js:265
↓ 2 callers
Function
testBulkSnapshotSpecificError
(label, fns)
test/client/subscribe.js:221
↓ 2 callers
Function
testSingleSnapshotSpecificError
(label, fns)
test/client/subscribe.js:48
↓ 2 callers
Function
wrapErrorData
(errorData, fullMessage)
lib/client/connection.js:267
↓ 1 callers
Function
applyOpEdit
(snapshot, edit)
lib/ot.js:104
↓ 1 callers
Function
badFunction
()
test/error.js:21
↓ 1 callers
Function
combineCallbacks
(callbacks)
lib/client/doc.js:503
↓ 1 callers
Function
connect
()
examples/rich-text-presence/client.js:106
↓ 1 callers
Function
createClientOp
(request, clientId)
lib/agent.js:985
↓ 1 callers
Function
createDoc
(callback)
examples/counter/server.js:11
↓ 1 callers
Function
createDoc
(callback)
examples/counter-json1/server.js:13
↓ 1 callers
Function
createDoc
(callback)
examples/rich-text/server.js:13
↓ 1 callers
Function
createDoc
(callback)
examples/rich-text-presence/server.js:16
↓ 1 callers
Function
createDoc
(callback)
examples/textarea/server.js:11
↓ 1 callers
Function
createDoc
(callback)
examples/counter-json1-vite/server.js:13
↓ 1 callers
Function
createQueryEmitter
()
lib/backend.js:688
↓ 1 callers
Function
deserialize
(array)
test/client/deserialized-type.js:53
↓ 1 callers
Function
deserializedApply
(node, op)
test/client/deserialized-type.js:73
↓ 1 callers
Function
disconnect
()
examples/rich-text-presence/client.js:102
↓ 1 callers
Function
expectFidoAndSpot
(backend, done)
test/middleware.js:91
↓ 1 callers
Function
expectSpot
(request)
test/middleware.js:74
↓ 1 callers
Function
filterOpsInPlaceBeforeTimestamp
(ops, timestamp)
lib/backend.js:951
↓ 1 callers
Function
finish
(err)
lib/backend.js:108
↓ 1 callers
Function
finish
(err)
lib/client/query.js:114
↓ 1 callers
Function
getInserted
(diff)
lib/query-emitter.js:324
↓ 1 callers
Function
initialiseQuill
(doc)
examples/rich-text-presence/client.js:38
↓ 1 callers
Function
isEditAllowed
(fields, op)
lib/projections.js:99
↓ 1 callers
Function
isSnapshotAllowed
(fields, snapshot)
lib/projections.js:82
↓ 1 callers
Function
mapDiff
(idsDiff, snapshotMap)
lib/query-emitter.js:337
↓ 1 callers
Function
normalizeLegacyJson0Ops
* 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 callers
Function
pluckIds
(snapshots)
lib/backend.js:943
↓ 1 callers
Function
projectEdit
(fields, op)
lib/projections.js:39
↓ 1 callers
Method
render
()
examples/leaderboard/client/Player.jsx:31
↓ 1 callers
Method
selectedPlayer
()
examples/leaderboard/client/Leaderboard.jsx:33
↓ 1 callers
Function
serializedApply
(array, op)
test/client/deserialized-type.js:85
↓ 1 callers
Function
setNoOp
(op)
lib/client/doc.js:529
↓ 1 callers
Function
shallowCopy
(object)
lib/agent.js:996
↓ 1 callers
Function
snapshotComparator
(sortProperties)
test/BasicQueryableMemoryDB.js:70
↓ 1 callers
Function
testDelCommit
(ops, snapshot)
test/db.js:150
↓ 1 callers
Function
testOpCommit
(ops, snapshot)
test/db.js:143
↓ 1 callers
Function
timestampGreaterThanOrEqualTo
(timestamp)
lib/milestone-db/memory.js:121
↓ 1 callers
Function
timestampLessThanOrEqualTo
(timestamp)
lib/milestone-db/memory.js:132
↓ 1 callers
Function
toggleConnection
(button)
examples/rich-text-presence/client.js:90
↓ 1 callers
Function
transformer
(agent, presence, callback)
lib/agent.js:830
↓ 1 callers
Function
versionLessThanOrEqualTo
(version)
lib/milestone-db/memory.js:111
Function
Agent
* 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
Function
Backend
(options)
lib/backend.js:21
Function
BasicQueryableMemoryDB
()
test/BasicQueryableMemoryDB.js:8
Function
Body
()
examples/leaderboard/client/Body.jsx:4
Function
Connection
(socket)
lib/client/connection.js:39
Function
CreateOp
(src, seq, v, create, x, c, d, m)
lib/agent.js:1006
Function
DB
(options)
lib/db/index.js:6
Function
DeleteOp
(src, seq, v, del, x, c, d, m)
lib/agent.js:1026
Function
Doc
(connection, collection, id)
lib/client/doc.js:55
Function
DocPresence
(connection, collection, id)
lib/client/presence/doc-presence.js:5
Function
DocPresenceEmitter
()
lib/client/presence/doc-presence-emitter.js:14
Function
EditOp
(src, seq, v, op, x, c, d, m)
lib/agent.js:1016
Function
LocalDocPresence
(presence, presenceId)
lib/client/presence/local-doc-presence.js:7
Function
LocalPresence
(presence, presenceId)
lib/client/presence/local-presence.js:6
Function
Logger
()
lib/logger/logger.js:7
next →
1–100 of 181, ranked by callers