MCPcopy Index your code
hub / github.com/angular/angular / dbReady

Function dbReady

packages/misc/angular-in-memory-web-api/src/backend-service.ts:54–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 }
53
54 protected get dbReady(): Observable<boolean> {
55 if (!this.dbReadySubject) {
56 // first time the service is called.
57 this.dbReadySubject = new BehaviorSubject<boolean>(false);
58 this.resetDb();
59 }
60 return this.dbReadySubject.asObservable().pipe(first((r: boolean) => r));
61 }
62
63 /**
64 * Process Request and return an Observable of Http Response object

Callers

nothing calls this directly

Calls 1

firstFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…