API
PeriodicTimer.WaitForNextTickAsync
Asynchronously waits for a tick or disposal; supports cancellation.
Formal Syntax & Structure
csharp syntaxcsharp
await timer.WaitForNextTickAsync(token)Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.await timer.WaitForNextTickAsync(token)