Member group
.ctor
Declaring type: Timer
Module: System.Concurrency
Assembly: System.Runtime.dll
Source file: Timer.rvn
Overloads / Variants
.ctor
init(callback: () -> ()) -> void
Source file: Timer.rvn
Creates a stopped timer. The callback may capture its own state.
Parameters
| Name | Type | Description |
|---|---|---|
callback |
Function |
.ctor
init(callback: () -> Task<void>) -> void
Source file: Timer.rvn
Creates a stopped timer. The callback may capture its own state.
Parameters
| Name | Type | Description |
|---|---|---|
callback |
Function |