MCPcopy
hub / github.com/angular/angular / NoopItemFactory

Class NoopItemFactory

packages/core/test/render3/list_reconciliation_spec.ts:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18class NoopItemFactory<T, V> implements ItemAdapter<T, V> {
19 create(index: number, value: V): T {
20 return value as any as T;
21 }
22 update(item: T, index: number, value: V): void {}
23
24 unwrap(item: T): V {
25 return item as any as V;
26 }
27}
28
29class LoggingLiveCollection<T, V> extends LiveCollection<T, V> {
30 operations = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…