async_tracker 0.1.4 copy "async_tracker: ^0.1.4" to clipboard
async_tracker: ^0.1.4 copied to clipboard

Tracks async callbacks (e.g. microtask, Future, Stream, Timer) and indicates when any of these has completed their execution chain.

example/example.dart

import 'package:async_tracker/async_tracker.dart';

void main() {
  final tracker = AsyncTracker();
  tracker.addListener(() {
    print('tracker has detected an execution');
  });

  tracker.run(() {
    // do any async stuff
  });
}
0
likes
160
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

Tracks async callbacks (e.g. microtask, Future, Stream, Timer) and indicates when any of these has completed their execution chain.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on async_tracker