Pick execution by terminal count.
The default selects a dedicated worker when the browser supports it and falls back safely.
'dedicated'Recommended- One isolated worker per terminal. Use this for most applications and single-session views.
'shared'Many sessions- Multiplex terminals through one worker when worker count matters. Busy sessions share its event loop.
falseMain thread- Useful for tests, constrained embeds, and unsupported environments. Parsing competes with application work.