create_db_worker

Function create_db_worker 

Source
pub async fn create_db_worker(
    configs: Vec<JsValue>,
    worker_url: &str,
    wasm_url: &str,
)
Expand description

Creates a new SQLite DB worker given a config, and the str paths to the worker file URL and the WASM file URL.

Note that wasm_url, if a relative path, is relative to the worker_url file!