Skip to content

Commit

Permalink
docs: fix typo of asynchronus
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomeowww authored and carlopi committed Jan 21, 2025
1 parent c3bd835 commit afc96d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/duckdb-wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const worker_url = URL.createObjectURL(
new Blob([`importScripts("${bundle.mainWorker!}");`], {type: 'text/javascript'})
);

// Instantiate the asynchronus version of DuckDB-wasm
// Instantiate the asynchronous version of DuckDB-wasm
const worker = new Worker(worker_url);
const logger = new duckdb.ConsoleLogger();
const db = new duckdb.AsyncDuckDB(logger, worker);
Expand All @@ -53,7 +53,7 @@ const MANUAL_BUNDLES: duckdb.DuckDBBundles = {
};
// Select a bundle based on browser checks
const bundle = await duckdb.selectBundle(MANUAL_BUNDLES);
// Instantiate the asynchronus version of DuckDB-wasm
// Instantiate the asynchronous version of DuckDB-wasm
const worker = new Worker(bundle.mainWorker!);
const logger = new duckdb.ConsoleLogger();
const db = new duckdb.AsyncDuckDB(logger, worker);
Expand All @@ -79,7 +79,7 @@ const MANUAL_BUNDLES: duckdb.DuckDBBundles = {
};
// Select a bundle based on browser checks
const bundle = await duckdb.selectBundle(MANUAL_BUNDLES);
// Instantiate the asynchronus version of DuckDB-wasm
// Instantiate the asynchronous version of DuckDB-wasm
const worker = new Worker(bundle.mainWorker!);
const logger = new duckdb.ConsoleLogger();
const db = new duckdb.AsyncDuckDB(logger, worker);
Expand All @@ -101,7 +101,7 @@ const MANUAL_BUNDLES: duckdb.DuckDBBundles = {
};
// Select a bundle based on browser checks
const bundle = await duckdb.selectBundle(JSDELIVR_BUNDLES);
// Instantiate the asynchronus version of DuckDB-wasm
// Instantiate the asynchronous version of DuckDB-wasm
const worker = new Worker(bundle.mainWorker!);
const logger = new duckdb.ConsoleLogger();
const db = new duckdb.AsyncDuckDB(logger, worker);
Expand Down

0 comments on commit afc96d5

Please sign in to comment.