github.com/evanw/esbuild@v0.21.4/internal/api_helpers/use_timer.go (about)

     1  package api_helpers
     2  
     3  // This flag is set by the CLI to activate the timer. It's put here instead of
     4  // by the timer to discourage code from checking this flag. Only the code that
     5  // creates the root timer should check this flag. Other code should check that
     6  // the timer is not null to detect if the timer is being used or not.
     7  var UseTimer bool