(key: K)
| 108 | ) => { |
| 109 | // Utility functions provided for concise get/update of global state via contextProxy API. |
| 110 | const getGlobalState = <K extends keyof GlobalState>(key: K) => provider.contextProxy.getValue(key) |
| 111 | const updateGlobalState = async <K extends keyof GlobalState>(key: K, value: GlobalState[K]) => |
| 112 | await provider.contextProxy.setValue(key, value) |
| 113 |
no test coverage detected