angular / 12.2.13 / api / core / testing / async.html /

async

function deprecated

Deprecated: use waitForAsync(), (expected removal in v12)

async(fn: Function): (done: any) => any

Deprecated use waitForAsync(), (expected removal in v12)

Parameters
fn Function
Returns

(done: any) => any

See also

© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/testing/async