Home > @lynx-js/react/testing-library > RenderOptions > enableBackgroundThread

RenderOptions.enableBackgroundThread property

Render your component in the background thread or not.

Note that all user code in the top level will be executed in the background thread by default. (eg. __BACKGROUND__ is true in the top level)

Signature:

enableBackgroundThread?: boolean;
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.