runUnary<R, T> method

R runUnary <R, T>(
  1. R action(
    1. T argument
    ),
  2. T argument
)

Executes the given action with argument in this zone.

As run except that action is called with one argument instead of none.

Implementation

R runUnary<R, T>(R action(T argument), T argument);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-async/Zone/runUnary.html