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

@pragma('dart2js:prefer-inline')
@pragma('dart2wasm:prefer-inline')
@pragma('vm:prefer-inline')
R runUnary<R, T>(R action(T argument), T argument) =>
    _runUnaryZoned<R, T>(this, action, argument);