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.