Skip to content

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 ​

ParameterType
work(m) => void

Returns ​

void

Released under the MIT License.