(duration: number, unref?: true)
| 112 | } |
| 113 | |
| 114 | public static expires(duration: number, unref?: true): Timeout { |
| 115 | return new Timeout(undefined, { duration, unref }); |
| 116 | } |
| 117 | |
| 118 | static override reject(rejection?: Error): Timeout { |
| 119 | return new Timeout(undefined, { duration: 0, unref: true, rejection }); |
no outgoing calls
no test coverage detected