MCPcopy Create free account

hub / github.com/ar-nelson/osmosis-js / functions

Functions290 in github.com/ar-nelson/osmosis-js

↓ 65 callersFunctioncompileJsonPath
( path: JsonPath, vars: Vars = {} )
osmosis-store-js/src/jsonpath.ts:873
↓ 62 callersMethodon
( event: U, listener: PeerFinderEvents[U] )
osmosis-net-js/src/peer-finder.ts:87
↓ 53 callersMethodset
(key: K, value: V)
osmosis-store-js/src/sorted-array-map.ts:18
↓ 50 callersFunctionKey
(query: string)
osmosis-store-js/test/mock-constructors.ts:6
↓ 41 callersFunctionbinaryPathToArray
(path: BinaryPath)
osmosis-store-js/src/binary-path.ts:108
↓ 40 callersFunctionbinaryPathAppend
( path: BinaryPath, index: number | string )
osmosis-store-js/src/binary-path.ts:112
↓ 39 callersMethodgetByPath
(path: BinaryPath)
osmosis-store-js/src/json-source.ts:24
↓ 38 callersMethoddispatch
( action: Action, returnFailures = false )
osmosis-js/src/osmosis.ts:510
↓ 37 callersFunctionPut
(path: AbsolutePathArray, value: Json)
osmosis-store-js/test/mock-constructors.ts:14
↓ 37 callersMethodget
(key: K)
osmosis-store-js/src/sorted-array-map.ts:8
↓ 33 callersFunctionpathArrayToBinary
(path: PathArray)
osmosis-store-js/src/binary-path.ts:51
↓ 31 callersMethodemit
( event: U, ...args: Parameters<PeerFinderEvents[U]> )
osmosis-net-js/src/peer-finder.ts:92
↓ 24 callersMethoderror
(err: Error)
osmosis-net-js/src/rpc-sockets.ts:56
↓ 22 callersFunctionexpectPath
(path: PathArray, value: JsonNode, ...ids: Id[])
osmosis-store-js/test/save-state.spec.ts:43
↓ 21 callersMethoddispatch
( action: JsonPathAction )
osmosis-store-js/src/store.ts:43
↓ 21 callersFunctionscalarActionToChanges
( action: ScalarAction<CompiledJsonPath | CompiledJsonIdPath>, source: JsonSource )
osmosis-store-js/src/actions.ts:144
↓ 19 callersMethodclose
()
osmosis-net-js/src/rpc-sockets.ts:55
↓ 19 callersFunctionexpectNumber
( op: string, json: Promise<TaggedNode> )
osmosis-store-js/src/jsonpath.ts:178
↓ 17 callersMethodcallMethod
( method: string, params: Structural = {}, notification = false, timeout: number = this.server
osmosis-net-js/src/rpc-sockets.ts:297
↓ 17 callersMethoddelete
(key: K)
osmosis-store-js/src/sorted-array-map.ts:34
↓ 16 callersFunctionidIndex
( id: Id, ops: readonly CausalTree[], expectMatch = false )
osmosis-store-js/src/id.ts:28
↓ 15 callersFunctionIndex
(query: number)
osmosis-store-js/test/mock-constructors.ts:10
↓ 14 callersMethodqueryOnce
(query: JsonPath, vars?: Vars)
osmosis-store-js/src/queryable.ts:13
↓ 12 callersFunctionidCompare
(id1: Id, id2: Id)
osmosis-store-js/src/id.ts:22
↓ 11 callersMethodclear
()
osmosis-js/src/async-queue-map.ts:63
↓ 11 callersMethodkeys
()
osmosis-store-js/src/sorted-array-map.ts:48
↓ 10 callersMethodconnect
( port: number, address: string, publicKey?: Buffer )
osmosis-net-js/src/rpc-sockets.ts:100
↓ 10 callersFunctionexpectRoot
(...keys: string[])
osmosis-store-js/test/save-state.spec.ts:31
↓ 10 callersMethodsend
(message: Uint8Array)
osmosis-net-js/src/encrypted-socket.ts:257
↓ 10 callersMethodtake
(key: K, timeoutMs = 1000)
osmosis-js/src/async-queue-map.ts:9
↓ 9 callersFunctionbinaryPathSplit
( path: BinaryPath )
osmosis-store-js/src/binary-path.ts:119
↓ 9 callersMethodentries
()
osmosis-store-js/src/sorted-array-map.ts:60
↓ 9 callersFunctionqueryPaths
( jsonPath: CompiledJsonPath | CompiledJsonIdPath, source: JsonSource, rootPath: BinaryPath = EMPTY_PATH
osmosis-store-js/src/jsonpath.ts:589
↓ 9 callersFunctiontestInMultipleOrders
( name: string, ops: Op[], expectedChanges: Change[][], finalTests: () => Promise<void> = asyn
osmosis-store-js/test/save-state.spec.ts:75
↓ 8 callersMethodsetByPath
(path: BinaryPath, value: JsonNode, id?: Id)
osmosis-store-js/src/json-source.ts:34
↓ 8 callersMethodstartAsyncTest
(done: (err?: any) => void)
osmosis-net-js/test/socket-test-helper.ts:79
↓ 7 callersMethodgetIdsByPath
(path: BinaryPath)
osmosis-store-js/src/json-source.ts:27
↓ 7 callersFunctionisArray
( node: JsonNode | undefined )
osmosis-store-js/src/jsonpath.ts:304
↓ 7 callersFunctionjsonPathToString
( path: CompiledJsonIdPath | CompiledJsonPath )
osmosis-store-js/src/jsonpath.ts:932
↓ 7 callersFunctionpair
()
osmosis-js/test/osmosis.spec.ts:29
↓ 7 callersFunctionqueryValues
( jsonPath: CompiledJsonPath, source: JsonSource, rootPath: BinaryPath = EMPTY_PATH )
osmosis-store-js/src/jsonpath.ts:645
↓ 6 callersFunctiongenerateConfig
( appId: string = uuid.v4(), peerName: string = hostname() )
osmosis-net-js/src/peer-config.ts:57
↓ 6 callersMethodinsert
( ops: Op[] )
osmosis-store-js/src/in-memory-save-state.ts:144
↓ 6 callersFunctionnextStateHash
(lastStateHash: Uint8Array, id: Id)
osmosis-store-js/src/id.ts:52
↓ 6 callersMethodopsRange
(earliestId: Id | null, latestId: Id | null)
osmosis-store-js/src/store.ts:130
↓ 6 callersFunctionqueryBothUntil
( path: string, predicate: (json: Json[]) => boolean )
osmosis-js/test/osmosis.spec.ts:59
↓ 6 callersFunctionsortedIndex
( array: T[], value: V, compare: (a: V, b: V) => number, extract: (x: T) => V = (x) => (x as unknown)
osmosis-store-js/src/utils.ts:41
↓ 6 callersMethodwrite
(value: T)
osmosis-store-js/src/flat-files-save-state.ts:70
↓ 5 callersFunctionMove
(from: AbsolutePathArray, to: AbsolutePathArray)
osmosis-store-js/test/mock-constructors.ts:26
↓ 5 callersMethodexportPeer
(peer: VisiblePeer)
osmosis-net-js/src/osmosis-connection.ts:739
↓ 5 callersFunctionfillNulls
( changes: Change[], path: BinaryPath, source: JsonSource )
osmosis-store-js/src/actions.ts:83
↓ 5 callersMethodgetPathById
(id: Id)
osmosis-store-js/src/json-source.ts:26
↓ 5 callersFunctionisObject
( node: JsonNode | undefined )
osmosis-store-js/src/jsonpath.ts:310
↓ 5 callersMethodmergeOps
( ops: readonly Op[] )
osmosis-store-js/src/store.ts:69
↓ 5 callersFunctionnth
(n)
osmosis-store-js/src/jsonpath.grammar.ts:11
↓ 5 callersFunctionsourceToJson
( source: JsonSource, root: BinaryPath = EMPTY_PATH )
osmosis-store-js/src/json-source.ts:85
↓ 5 callersMethodsubscribe
( query: JsonPath, vars: Vars, callback: (json: Json) => void )
osmosis-store-js/src/queryable.ts:5
↓ 5 callersMethodvalues
()
osmosis-store-js/src/sorted-array-map.ts:54
↓ 4 callersFunctionTouch
(path: AbsolutePathArray)
osmosis-store-js/test/mock-constructors.ts:22
↓ 4 callersFunctionadjustIndex
(index: number, array: { length: number })
osmosis-store-js/src/jsonpath.ts:294
↓ 4 callersMethodapplyOp
( op: Op )
osmosis-store-js/src/in-memory-save-state.ts:179
↓ 4 callersFunctiongetTaggedNode
( source: JsonSource, path: BinaryPath )
osmosis-store-js/src/jsonpath.ts:162
↓ 4 callersFunctionidIndexAfter
(id: Id, ops: readonly CausalTree[])
osmosis-store-js/src/in-memory-save-state.ts:22
↓ 4 callersFunctionidToString
({ author, index }: Id)
osmosis-store-js/src/id.ts:18
↓ 4 callersMethodmakeServer
()
osmosis-net-js/test/socket-test-helper.ts:83
↓ 4 callersMethodmakeSocket
()
osmosis-net-js/test/socket-test-helper.ts:90
↓ 4 callersMethodonBadMessage
( why: 'encryption' | 'compression' | 'compressed' | 'size', err: Error )
osmosis-net-js/src/encrypted-socket.ts:241
↓ 4 callersMethodsendRpc
(rpc: JsonRpc)
osmosis-net-js/src/rpc-sockets.ts:277
↓ 4 callersMethodstop
()
osmosis-js/src/osmosis.ts:631
↓ 4 callersMethodstop
()
osmosis-net-js/src/peer-finder.ts:129
↓ 4 callersMethodsubscribeMeta
( query: JsonPath, arg1: unknown, arg2?: (json: Json) => void )
osmosis-js/src/osmosis.ts:619
↓ 4 callersFunctionts
(index: number)
osmosis-store-js/test/store.spec.ts:98
↓ 3 callersFunctionDelete
(path: AbsolutePathArray)
osmosis-store-js/test/mock-constructors.ts:18
↓ 3 callersMethodaddPairedPeer
(peer: PeerInfo)
osmosis-net-js/src/osmosis-connection.ts:280
↓ 3 callersFunctionapplyChange
( change: Change, id: Id, dest: MutableJsonSource )
osmosis-store-js/src/actions.ts:448
↓ 3 callersMethodcallMethod
( peerId: string, method: M, params: Parameters<Methods[M]>[0], notification = false, time
osmosis-net-js/src/osmosis-connection.ts:706
↓ 3 callersFunctioncompileIndex
( index: readonly [string, ...any[]] )
osmosis-store-js/src/jsonpath.ts:759
↓ 3 callersMethoddisconnectPeer
(peerId: string)
osmosis-net-js/src/osmosis-connection.ts:671
↓ 3 callersFunctionevalJsonPathExpr
( self: TaggedNode, source: JsonSource, expr: JsonPathExpr )
osmosis-store-js/src/jsonpath.ts:173
↓ 3 callersFunctionexpectNumberExpr
(expr)
osmosis-store-js/src/jsonpath.ts:488
↓ 3 callersMethodexpirePath
(path: BinaryPath, isDeleted = true)
osmosis-store-js/src/json-cache.ts:72
↓ 3 callersMethodfailuresRange
( earliestId: Id | null, latestId: Id | null )
osmosis-store-js/src/store.ts:134
↓ 3 callersFunctionflatMapAsync
( xs: readonly T[], f: (t: T) => Promise<U[]> )
osmosis-store-js/src/utils.ts:18
↓ 3 callersMethodgetByPath
(path: BinaryPath)
osmosis-store-js/src/overlay-json-source.ts:28
↓ 3 callersMethodgetIdsAfter
( id: Id )
osmosis-store-js/src/json-source.ts:28
↓ 3 callersMethodinsert
(key: K, value: V)
osmosis-js/src/async-queue-map.ts:42
↓ 3 callersFunctionisObject
(it: unknown)
osmosis-store-js/src/utils.ts:25
↓ 3 callersFunctioniterateBinaryPath
( path: BinaryPath )
osmosis-store-js/src/binary-path.ts:55
↓ 3 callersMethodsendHeartbeat
(interfaceAddress: string)
osmosis-net-js/src/peer-finder.ts:293
↓ 3 callersFunctionserializeSummary
({ hash, latestIndexes, }: StateSummary)
osmosis-js/src/osmosis.ts:49
↓ 3 callersMethodsetIdsByPath
(path: BinaryPath, ids: Id[])
osmosis-store-js/src/json-source.ts:37
↓ 3 callersMethodsetState
(newState: Json)
osmosis-store-js/test/meta-store.spec.ts:18
↓ 3 callersMethodshutdownInterface
(ifa: HeartbeatInterface)
osmosis-net-js/src/peer-finder.ts:146
↓ 3 callersMethodstart
()
osmosis-net-js/src/peer-finder.ts:120
↓ 3 callersFunctiontopLevelExprToString
(expr: JsonPathExpr)
osmosis-store-js/src/jsonpath.ts:923
↓ 3 callersMethodupdate
(value: Json)
osmosis-js/src/metadata/event-metadata-source.ts:15
↓ 2 callersMethodacceptPairRequest
(peerId: string, secret: string)
osmosis-net-js/src/osmosis-connection.ts:560
↓ 2 callersFunctionactionToChanges
( action: Action<CompiledJsonPath | CompiledJsonIdPath>, id: Id, source: JsonSource )
osmosis-store-js/src/actions.ts:105
↓ 2 callersFunctionaddParentKey
(path: BinaryPath, dest: MutableJsonSource)
osmosis-store-js/src/actions.ts:414
↓ 2 callersFunctionbinaryEqual
(a: Uint8Array, b: Uint8Array)
osmosis-net-js/src/utils.ts:26
next →1–100 of 290, ranked by callers