Skip to content

Documentation / @andrew_l/app / createAppThread

Function: createAppThread() ​

createAppThread(definition): AppDefinition

Wrap an app definition to run across N worker threads. Adds a threads prop and manages the full lifecycle of each worker.

Parameters ​

definition ​

AppDefinition

Returns ​

AppDefinition