| addUncaughtErrorListener | Passes each uncaught error and unhandled rejection of a worker global scope to listener as an Error from defectToError. |
| availableParallelism | Returns the amount of logical processors available to the browser. |
| createDeleteDatabaseFiles | Creates the DeleteDatabaseFiles of Evolu for the web. It opens the pool createWasmSqliteDriver opens for the database, waiting for held files as createWaitForDatabaseRelease does, deletes /evolu1.db with its journal, disposes the pool, and removes the pool's directory .<name> with every slot of the pool. A missing file counts as deleted, and so does a missing directory, which it then doesn't create. |
| createEvoluDeps | Creates Evolu dependencies for the web platform. |
| createMessageChannel | Creates a MessageChannel from a Web MessageChannel. |
| createOneTabSharedWorkerSelfPolyfill | Creates a one-tab SharedWorkerSelf polyfill for browsers without native SharedWorker support. |
| createPasskeyAuth | Unlocks the app's DeviceSecret with a passkey, for createEvoluApp's DeviceSecret auth on the web, and decides when the app can offer to start over. It reads, without a prompt, whether the browser keeps anything and whether a wrapped DeviceSecret is stored, so the app can label its first screen, such as "Unlock" or "Create account". Where the browser keeps nothing, as in Safari's Private Browsing or a Firefox private window, its state is NotPersisted, and the app starts without a passkey, with InstantStart, in memory. |
| createPasskeyKeyProvider | Creates a DeviceSecretKeyProvider whose keys are passkeys of the current site and their WebAuthn PRF outputs. Pass it to unlockWrappedDeviceSecret. |
| createRun | Creates a root Run for the browser. |
| createSharedWorker | Creates a SharedWorker from a Web SharedWorker. |
| createSharedWorkerSelf | Creates an Evolu SharedWorkerSelf from a Web SharedWorkerGlobalScope (self inside a shared worker). |
| createWaitForDatabaseRelease | Creates the WaitForDatabaseRelease of Evolu for the web. It opens the pool createWasmSqliteDriver opens for the database, and disposes it once it opens. |
| createWasmSqliteDriver | Creates the CreateSqliteDriver of Evolu for the web. |
| createWorker | Creates a Worker from a Web Worker. |
| createWorkerDeps | Creates deps shared by web worker entry points. |
| createWorkerSelf | Creates an Evolu WorkerSelf from a Web DedicatedWorkerGlobalScope (self inside a dedicated worker). |
| installOneTabSharedWorkerPolyfill | Installs a one-tab SharedWorker polyfill backed by a Web Worker. |
| isApplePlatform | Returns true when the browser runs on an Apple platform. |