dart / 2 / dart-async / zone / createperiodictimer.html

createPeriodicTimer method

Timer createPeriodicTimer(
  1. Duration period,
  2. void callback(
    1. Timer timer
    )
)

Creates a periodic Timer where the callback is executed in this zone.

Implementation

Timer createPeriodicTimer(Duration period, void callback(Timer timer));

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-async/Zone/createPeriodicTimer.html