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