matchAsync function

AngelMatcher matchAsync(
  1. FutureOr<Matcher> matcher(
    1. String,
    2. Object
    ),
  2. FutureOr feature(), [
  3. String description = 'satisfies asynchronously created matcher'
])

Returns an AngelMatcher that asynchronously resolves a feature, builds a matcher, and executes it.

Implementation

AngelMatcher matchAsync(FutureOr<Matcher> Function(String, Object) matcher,
    FutureOr Function() feature,
    [String description = 'satisfies asynchronously created matcher']) {
  return _MatchAsync(matcher, feature, description);
}