This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/lynx-bundle-rslib-config > ExternalObject > async

ExternalObject.async property

Whether the library is mounted as a Promise resolving to the library namespace. When enabled, the external is emitted as a promise external so importing modules await the mounted value instead of reading it synchronously.

Signature:

async?: boolean;

Default Value

false