callbackSingle.js 716 B

1234567891011121314151617181920212223
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. telemetryLog("Start Global Code", true);
  6. function foo()
  7. {
  8. telemetryLog("Start Foo", true);
  9. WScript.Echo("Hello World - CallBack");
  10. telemetryLog("End Foo", true);
  11. emitTTDLog(ttdLogURI);
  12. }
  13. WScript.SetTimeout(foo, 250);
  14. WScript.Echo("Hello World - Global");
  15. telemetryLog("End Global Code", true);