(newVal: T)
| 145 | let ret: Awaited<ReturnType<CB>>; |
| 146 | const act = { action: Actions.NONE } as { action?: number; newVal?: T }; |
| 147 | const set = (newVal: T) => { |
| 148 | act.action = Actions.SET; |
| 149 | act.newVal = newVal; |
| 150 | }; |
| 151 | const del = () => { |
| 152 | act.action = Actions.DEL; |
| 153 | act.newVal = undefined; |