methods\utils\sleep library

Classes

SleepOptions
Options for the sleep function, containing the sleep duration in milliseconds.

Functions

sleep(SleepOptions options) Future<void>
Suspends the execution of the current isolate for the specified options.ms milliseconds.

Typedefs

SleepType = Future<void> Function(SleepOptions options)