Function perform

  • Ensures that the current thread is attached to the VM and calls fn. (This isn't necessary in callbacks from Java.)

    Will defer calling fn if the app's class loader is not available yet. Use Java.performNow() if access to the app's classes is not needed.

    Parameters

    • fn: (() => void)

      Function to run while attached to the VM.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc