MCPcopy Create free account
hub / github.com/TanStack/query / bindMethods

Method bindMethods

packages/query-core/src/queryObserver.ts:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 protected bindMethods(): void {
107 this.refetch = this.refetch.bind(this)
108 }
109
110 protected onSubscribe(): void {
111 if (this.listeners.size === 1) {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected