angular / 5.2.11 / api / core / testing / flushmicrotasks.html /

flushMicrotasks

function

npm Package @angular/core
Module import { flushMicrotasks } from '@angular/core/testing';
Source core/testing/src/fake_async.ts

function flushMicrotasks(): void;

Description

Flush any pending microtasks.

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/testing/flushMicrotasks