@shumoku/core · 0.4.0 · function
createEngine
Build an engine instance. Stateless across queries (every call returns the same answer for the same input given the same config). Memoization is allowed inside; the `fingerprint` is the cache key.
createEngine(config?: EngineConfig): LayoutEngine Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
config | EngineConfig | No additional description. | {} |
Returns
LayoutEngine