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