Formats an estimated wait time in milliseconds into a human-readable short string for display in queue badges.
Estimated wait in milliseconds, or null/undefined if unknown.
null
undefined
A formatted string like "(~12s)" or "(~2m)", or empty string when the value is absent or zero.
"(~12s)"
"(~2m)"
Formats an estimated wait time in milliseconds into a human-readable short string for display in queue badges.