Home > @firebase/firestore > / > Settings > experimentalAutoDetectLongPolling
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
.
Signature:
experimentalAutoDetectLongPolling?: boolean;