UNPKG

quodolores

Version:

Monorepo for the Firebase JavaScript SDK

16 lines (9 loc) 818 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [Settings](./firestore_.settings.md) &gt; [experimentalAutoDetectLongPolling](./firestore_.settings.experimentalautodetectlongpolling.md) ## Settings.experimentalAutoDetectLongPolling property Configures the SDK's underlying transport (WebChannel) to automatically detect if long-polling should be used. This is very similar to `experimentalForceLongPolling`<!-- -->, but only uses long-polling if required. This setting will likely be enabled by default in future releases and cannot be combined with `experimentalForceLongPolling`<!-- -->. <b>Signature:</b> ```typescript experimentalAutoDetectLongPolling?: boolean; ```