* Generates hint for inputhints * @param {HintCallback} setHints Set hints callback * @param {HintModification} hintModification Hint modification object
(setHints, hintModification)
| 138 | * @param {HintModification} hintModification Hint modification object |
| 139 | */ |
| 140 | async function generateHints(setHints, hintModification) { |
| 141 | const list = getList(hintModification); |
| 142 | const data = list instanceof Promise ? await list : list; |
| 143 | setHints(data); |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Removes the palette |
nothing calls this directly
no test coverage detected