Skip to main content

Function: useWorkerLayoutNoverlap()

useWorkerLayoutNoverlap(settings): object

React hook that helps you to manage worker for noverlap layout.

const { stop, start } = useWorkerLayoutNoverlap({layoutOptions});

Parameters

settings: NoverlapLayoutSupervisorParameters

Returns

object

isRunning

isRunning: boolean

kill()

kill: () => void

Returns

void

start()

start: () => void

Returns

void

stop()

stop: () => void

Returns

void

Defined in

packages/layout-noverlap/src/useWorkerLayoutNoverlap.ts:13