(key: string)
| 105 | } |
| 106 | |
| 107 | async remove(key: string): Promise<void> { |
| 108 | await this.sendRequest('monogatari:storage-remove', { key }); |
| 109 | for (const cb of this._callbacks.delete) { |
| 110 | cb(key, undefined); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | async getAll(): Promise<Record<string, unknown>> { |
| 115 | const raw = await this.sendRequest('monogatari:storage-get-all', {}) as Record<string, unknown>; |
nothing calls this directly
no test coverage detected