runUnaryGuarded<T> abstract method

void runUnaryGuarded<T>(
  1. void action(
    1. T argument
    ),
  2. T argument
)

Executes the given action with argument in this zone and catches synchronous errors.

See runGuarded.

Implementation

void runUnaryGuarded<T>(void action(T argument), T argument);