run<T> method

Future<T> run<T>(
  1. Future<T> body()
)

Runs body with this probe in its zone.

Implementation

Future<T> run<T>(Future<T> Function() body) =>
    runZoned(body, zoneValues: {_key: this});