docs: convert all @experimental
tags to @publicApi
tags (#26595)
PR Close #26595
This commit is contained in:

committed by
Alex Rickabaugh

parent
4bd9f53e8f
commit
24521f549c
@ -14,7 +14,7 @@ const fakeAsyncTestModule = _Zone && _Zone[_Zone.__symbol__('fakeAsyncTest')];
|
||||
* Clears out the shared fake async zone for a test.
|
||||
* To be called in a global `beforeEach`.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function resetFakeAsyncZone(): void {
|
||||
if (fakeAsyncTestModule) {
|
||||
@ -41,7 +41,7 @@ export function resetFakeAsyncZone(): void {
|
||||
* @param fn
|
||||
* @returns The function wrapped to be executed in the fakeAsync zone
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function fakeAsync(fn: Function): (...args: any[]) => any {
|
||||
if (fakeAsyncTestModule) {
|
||||
@ -62,7 +62,7 @@ export function fakeAsync(fn: Function): (...args: any[]) => any {
|
||||
*
|
||||
* {@example core/testing/ts/fake_async.ts region='basic'}
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function tick(millis: number = 0): void {
|
||||
if (fakeAsyncTestModule) {
|
||||
@ -80,7 +80,7 @@ export function tick(millis: number = 0): void {
|
||||
* @param maxTurns
|
||||
* @returns The simulated time elapsed, in millis.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function flush(maxTurns?: number): number {
|
||||
if (fakeAsyncTestModule) {
|
||||
@ -93,7 +93,7 @@ export function flush(maxTurns?: number): number {
|
||||
/**
|
||||
* Discard all remaining periodic tasks.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function discardPeriodicTasks(): void {
|
||||
if (fakeAsyncTestModule) {
|
||||
@ -106,7 +106,7 @@ export function discardPeriodicTasks(): void {
|
||||
/**
|
||||
* Flush any pending microtasks.
|
||||
*
|
||||
* @experimental
|
||||
* @publicApi
|
||||
*/
|
||||
export function flushMicrotasks(): void {
|
||||
if (fakeAsyncTestModule) {
|
||||
|
Reference in New Issue
Block a user