Function: withPatterns()
ts
function withPatterns(work): void;Experimental
Run work with the pattern code: at once when it has loaded, else once it has (patternsReady covers it). Never rejects: a failed load is reported.
Parameters
| Parameter | Type |
|---|---|
work | (m) => void |
Returns
void