RpcOptions
Auto-generated from the config schema in the source — see the config guide for concepts. Built into JBrowse core. View source.
Chooses whether data fetching runs on the main thread or in web workers, and
how many workers to start. Found on the root config as configuration.rpc.
Config slots
Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
defaultDriverstring = '' | The RPC backend. Empty means "use the host application's default" (web/desktop default to the web worker driver, embedded/headless to the main thread). Every call in the session runs on the driver this names; there is no per-track or per-call override. advanced |
workerCountnumber = 0 | number of web workers to spawn for the web worker RPC driver. 0 lets JBrowse pick based on hardware concurrency. advanced |
Related links
- Developer guide: Data flow, end to end