MCPcopy Create free account
hub / github.com/firebase/firebase-tools / getState

Method getState

src/emulator/workQueue.ts:129–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 getState() {
130 return {
131 queuedWork: this.queue.map((work) => work.type),
132 queueLength: this.queue.length,
133 runningWork: this.running,
134 workRunningCount: this.running.length,
135 };
136 }
137
138 private isWorking() {
139 const state = this.getState();

Callers 3

isWorkingMethod · 0.95
logStateMethod · 0.95
workQueue.spec.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected