Listener -
task
: Listener
Represents a ballerina task listener.
Constructor
__init
(TimerConfiguration | AppointmentConfiguration configs)
- configs TimerConfiguration | AppointmentConfiguration
Methods
LifeCycle Methods
Methods
Pauses the task.
-
Return Type
(error?) Returns error if an error is occurred while resuming, nil Otherwise.
Resumes a paused task.
-
Return Type
(error?) Returns error when an error occurred while pausing, nil Otherwise.
LifeCycle Methods
-
Return Type
(error?)