MCPcopy Create free account
hub / github.com/angular/dev-infra / getNextSpinnerCharacter

Method getNextSpinnerCharacter

ng-dev/utils/spinner.ts:81–85  ·  view source on GitHub ↗

Get the next spinner character.

()

Source from the content-addressed store, hash-verified

79
80 /** Get the next spinner character. */
81 private getNextSpinnerCharacter() {
82 this.currentSpinnerCharacterIndex =
83 (this.currentSpinnerCharacterIndex + 1) % this.spinnerCharacters.length;
84 return this.spinnerCharacters[this.currentSpinnerCharacterIndex];
85 }
86
87 /**
88 * Print the next frame either in CI mode or local terminal mode based on whether the script is run in a

Callers 2

textMethod · 0.95
printFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected