(scope: string, key: string, value: T)
| 11 | } |
| 12 | |
| 13 | async set<T = unknown>(scope: string, key: string, value: T): Promise<T> { |
| 14 | return this.sdk.trigger<{ scope: string; key: string; value: T }, T>({ |
| 15 | function_id: 'state::set', |
| 16 | payload: { scope, key, value }, |
| 17 | }) |
| 18 | } |
| 19 | |
| 20 | async update<T = unknown>( |
| 21 | scope: string, |
no outgoing calls