webview_dispatch

@Deprecated(message = "You normally do not need it, unless you want to tweak the native window")
public abstract Unit webview_dispatch(    Pointer webview,     WebviewJNA.WebviewLibrary.webview_dispatch_fn_callback fn,     Pointer args)

Posts a function to be executed on the main thread.

You normally do not need to call this function, unless you want to tweak the native window.

Parameters

webview

the handle of webview, usually returned by webview_create

fn

the callback