java-bridge
    Preparing search index...

    Interface Config

    Configuration for the Java class proxy.

    2.4.0

    interface Config {
        asyncJavaExceptionObjects?: boolean;
        asyncSuffix?: string;
        customInspect: boolean;
        runEventLoopWhenInterfaceProxyIsActive: boolean;
        syncSuffix?: string;
    }
    Index

    Properties

    asyncJavaExceptionObjects?: boolean

    If true, any Java exception will be returned in the cause field of the thrown JavaError even in async methods. Enabling this will cause the stack trace of the JavaScript error to be lost. Default is false.

    2.6.0

    asyncSuffix?: string

    The suffix to use for asynchronous methods. Set this value to an empty string to disable the suffix. The default value is an empty string. Setting this value to the same value as syncSuffix will result in an error.

    2.4.0

    customInspect: boolean

    If true, the custom inspect method will be used to display the object in the console.

    2.4.0

    runEventLoopWhenInterfaceProxyIsActive: boolean

    If true, the event loop will be run when an interface proxy is active.

    2.2.3

    syncSuffix?: string

    The suffix to use for synchronous methods. Set this value to an empty string to disable the suffix. The default value is "Sync". Setting this value to the same value as asyncSuffix will result in an error.

    2.4.0