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

Class Host

packages/angular-query/src/utils/__test__/inject-external-store.test.ts:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 initialize?: (value: Signal<T>) => void,
34) {
35 @Component({ template: '' })
36 class Host {
37 readonly value = create()
38 ngOnInit() {
39 initialize?.(this.value)
40 }
41 }
42 return TestBed.createComponent(Host)
43}
44

Callers

nothing calls this directly

Calls 1

ComponentFunction · 0.50

Tested by

no test coverage detected