[API reference](https://evolu.dev/docs/api-reference) › [@evolu/web](https://evolu.dev/docs/api-reference/web) › loadSqliteWasm

```ts
const loadSqliteWasm: Task<SqliteWasm, SqliteWasmError>;
```

Defined in: [packages/web/src/Sqlite.ts:63](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/web/src/Sqlite.ts#L63)

Loads SQLite from the [sqliteWasmUrl](https://evolu.dev/docs/api-reference/sqlite-wasm/variables/sqliteWasmUrl) of `@evolu/sqlite-wasm` for
[createWasmSqliteDriver](https://evolu.dev/docs/api-reference/web/functions/createWasmSqliteDriver). It passes the fetch to
[createSqliteWasm](https://evolu.dev/docs/api-reference/sqlite-wasm/functions/createSqliteWasm), which compiles the binary while it downloads when
the server sends it as `application/wasm`, and from its bytes otherwise.

Start it in the worker's composition root, so SQLite loads while the worker
waits for its database.