Skip to main content

createSegmenter

function createSegmenter(basePath, __namedParameters): Segmenter;

Parameters

ParameterTypeDefault valueDescription
basePathundefined | string'/'A base path to specify the directory the Wasm files should be loaded from. If not provided, it will be loaded from the host's root directory. See FileResolver
__namedParametersOptions...-

Returns

Segmenter