MCPcopy Index your code
hub / github.com/darkreader/darkreader / applyState

Method applyState

src/utils/state-manager-impl.ts:140–142  ·  view source on GitHub ↗
(storage: T)

Source from the content-addressed store, hash-verified

138 }
139
140 private applyState(storage: T) {
141 Object.assign(this.parent, this.defaults, storage);
142 }
143
144 private releaseBarrier() {
145 const barrier = this.barrier;

Callers 2

onChangeMethod · 0.95
loadStateInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected