Generates a string that can be used to find identical idle request option objects.
(options?: IdleRequestOptions)
| 159 | |
| 160 | /** Generates a string that can be used to find identical idle request option objects. */ |
| 161 | function getIdleRequestKey(options?: IdleRequestOptions): string { |
| 162 | if (!options || options.timeout == null) { |
| 163 | return ''; |
| 164 | } |
| 165 | |
| 166 | return `${options.timeout}`; |
| 167 | } |
no outgoing calls
no test coverage detected