For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/lynx-native-api/template-bundle/post-js-cache-generation-task.md.
Lynx
  • English
  • postJsCacheGenerationTask

    Start a sub-thread task to generate the js code cache of the current template.

    Syntax

    Android

    public void postJsCacheGenerationTask(String bytecodeSourceUrl, boolean useV8);

    Parameters

    • bytecodeSourceUrl: The url of the current template.
    • useV8: Whether to generate V8 Code Cache, otherwise generate QuickJS Code Cache.

    iOS

    - (void)postJsCacheGenerationTask:(nonnull NSString *)bytecodeSourceUrl;

    Parameters

    • bytecodeSourceUrl: The source url of the template.

    Harmony

    public postJsCacheGenerationTask(bytecodeSourceUrl: string, useV8: boolean): void;

    Parameters

    • bytecodeSourceUrl: The url of the current template.
    • useV8: Whether to generate V8 Code Cache, otherwise generate QuickJS Code Cache.

    Compatibility

    LCD tables only load in the browser

    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.