You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			20 lines
		
	
	
		
			481 B
		
	
	
	
		
			JavaScript
		
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			481 B
		
	
	
	
		
			JavaScript
		
	
| 
											9 months ago
										 | "use strict"; | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |     value: true | ||
|  | }); | ||
|  | Object.defineProperty(exports, "flushAndExit", { | ||
|  |     enumerable: true, | ||
|  |     get: function() { | ||
|  |         return flushAndExit; | ||
|  |     } | ||
|  | }); | ||
|  | const _shared = require("../trace/shared"); | ||
|  | async function flushAndExit(code) { | ||
|  |     let telemetry = _shared.traceGlobals.get("telemetry"); | ||
|  |     if (telemetry) { | ||
|  |         await telemetry.flush(); | ||
|  |     } | ||
|  |     process.exit(code); | ||
|  | } | ||
|  | 
 | ||
|  | //# sourceMappingURL=flush-and-exit.js.map
 |