MCPcopy Create free account
hub / github.com/SvelteStack/svelte-query / bindMethods

Method bindMethods

src/queryCore/core/queryObserver.ts:102–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 protected bindMethods(): void {
103 this.remove = this.remove.bind(this)
104 this.refetch = this.refetch.bind(this)
105 }
106
107 protected onSubscribe(): void {
108 if (this.listeners.length === 1) {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected