Function
transformWxml
(rawWxml: string, options?: ITemplateHandlerOptions)
Source from the content-addressed store, hash-verified
| 210 | } |
| 211 | |
| 212 | async function transformWxml(rawWxml: string, options?: ITemplateHandlerOptions) { |
| 213 | await runtimeState.readyPromise |
| 214 | if (!options?.runtimeSet && runtimeSet.size === 0) { |
| 215 | runtimeSet = await ensureRuntimeClassSet(runtimeState, { |
| 216 | forceCollect: true, |
| 217 | }) |
| 218 | } |
| 219 | return templateHandler(rawWxml, resolveTransformWxmlOptions(options)) |
| 220 | } |
| 221 | |
| 222 | return { |
| 223 | getRuntimeSet, |