Function webview_app::request::request_blocking

source ยท
pub fn request_blocking<F: FnOnce() -> String + Send + 'static>(
    request: &Request,
    id: String,
    on_request: F,
)
Expand description

Handling an incoming request from javascript in a blocking manner in a thread.

The calling function does not block, the callback function runs in a thread and can be blocking.

If an exception occurs, the error text is written to the error console