Record -
task
: TimerConfiguration
Configurations related to a timer, which are used to define the behavior of a timer when initializing the
task:Listener
.
Closed record
Fields
- intervalInMillis int
-
Timer interval (in milliseconds), which triggers the
onTrigger
resource
- initialDelayInMillis int
-
Delay (in milliseconds) after which the timer will run
- noOfRecurrences int
-
Number of times to trigger the task after which the task stops running