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

outdated

Tracks async callbacks (e.g. microtask, Future, Stream, Timer) and indicates when any of these has completed their executions. It can be used to track and react on async event chains.

async_tracker #

Tracks async callbacks (e.g. microtask, Future, Stream, Timer) and indicates when any of these has completed their executions. It can be used to track and react on async event chains.

Clients of the AsyncTracker either listen on the stream or they can add or remove listeners that receive these events.

Usage #

A simple usage example:

import 'package:async_tracker/async_tracker.dart';

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

  tracker.run(() {
    // do any async stuff
  });
}
0
likes
0
pub points
20%
popularity

Publisher

unverified uploader

Tracks async callbacks (e.g. microtask, Future, Stream, Timer) and indicates when any of these has completed their executions. It can be used to track and react on async event chains.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on async_tracker