completer_ex 4.0.3 copy "completer_ex: ^4.0.3" to clipboard
completer_ex: ^4.0.3 copied to clipboard

A wrapper for Completer which logs when the completer doesn't complete in a timely manner.

example/example.dart

/* Copyright (C) OnePub IP Pty Ltd - All Rights Reserved
 * Unauthorized copying of this file, via any medium is strictly prohibited
 * Proprietary and confidential
 * Written by Brett Sutton <bsutton@onepub.dev>, Jan 2022
 */

import 'dart:async';

import 'package:completer_ex/completer_ex.dart';

void main() {
  /// If you have a normal Completer:
  Completer<int>();

  /// just replace it with a CompleterEx
  CompleterEx<int>();
}
2
likes
140
points
1.07k
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

A wrapper for Completer which logs when the completer doesn't complete in a timely manner.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

simple_logger, stacktrace_impl

More

Packages that depend on completer_ex