()
| 136 | } |
| 137 | |
| 138 | getStore() { |
| 139 | if (this.enabled) { |
| 140 | const resource = executionAsyncResource(); |
| 141 | if (!(this.kResourceStore in resource)) { |
| 142 | return this.#defaultValue; |
| 143 | } |
| 144 | return resource[this.kResourceStore]; |
| 145 | } |
| 146 | return this.#defaultValue; |
| 147 | } |
| 148 | |
| 149 | withScope(store) { |
| 150 | return new RunScope(this, store); |