Sleep v0.1.0
Suspends execution of the current thread.
Package: Windows
Microsoft documentation: Sleep
Signature
func Sleep(milliseconds: uint32);
Parameters
| Name | Type | Description |
|---|---|---|
milliseconds | uint32 | Minimum suspension interval. |
The actual delay depends on system timer resolution and scheduling. A value of
0 yields the remainder of the thread's time slice to another ready thread.
See also
Windows— the package overview