Synchronous feature detection for the Web Serial API.
Prefer this helper before creating a session. After a session exists,
drive unsupported UI from state$ with SerialSessionStatus.Unsupported.
This helper is SSR-safe: it returns false when navigator is not available.
Synchronous feature detection for the Web Serial API.
Prefer this helper before creating a session. After a session exists, drive unsupported UI from
state$withSerialSessionStatus.Unsupported. This helper is SSR-safe: it returnsfalsewhennavigatoris not available.