OptionaltimeoutMilliseconds the fallback may remain visible before it's considered "slow".
Optionalsample% sample rate for telemetry (0–100). Set to 0 to disable Datadog reporting.
OptionalreportEmit a second event when content finally resolves after a slow fallback.
OptionalactionAction names for Datadog. Usually you won't need to change these.
Optionalslow?: stringEmitted once when the fallback crosses timeoutMs.
Optionalresolved?: stringEmitted when a slow fallback eventually resolves.
OptionalonOptional callback when the fallback crosses timeoutMs. Receives timing info; return value is ignored.
OptionalonOptional callback when the slow fallback eventually resolves.
OptionalalsoIf true, also send a Datadog error on slow fallback (grouped as error). Useful when prolonged loading is considered a defect.
Options that control how SuspenseWatch reports and samples events.