reliable_interval_timer

Last updated:

0 purchases

reliable_interval_timer Image
reliable_interval_timer Images
Add to Cart

Description:

reliable interval timer

A timer that produces ticks within a given interval, accurate to the millisecond.
Features #
ReliableIntervalTimer class provides you a periodic timer that has the exact same duration between ticks, accurate to the millisecond.
The timer is run inside an isolate.
Usage #
ReliableIntervalTimer(
interval: Duration(milliseconds: 100),
callback: (elapsedMilliseconds) => print('elapsedMilliseconds: $elapsedMilliseconds');,
);
copied to clipboard
Additional information #
After doing some testing, I figured out that this will run reliably on client devices, on server side I encountered issues with inaccurate timings.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.