Optional
timeoutMilliseconds the fallback may remain visible before it's considered "slow".
Optional
sample% sample rate for telemetry (0–100). Set to 0 to disable Datadog reporting.
Optional
reportEmit a second event when content finally resolves after a slow fallback.
Optional
actionAction names for Datadog. Usually you won't need to change these.
Optional
slow?: stringEmitted once when the fallback crosses timeoutMs.
Optional
resolved?: stringEmitted when a slow fallback eventually resolves.
Optional
onOptional callback when the fallback crosses timeoutMs. Receives timing info; return value is ignored.
Optional
onOptional callback when the slow fallback eventually resolves.
Optional
alsoIf 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.