Plugin : Timer
Author:Rex.Rainbow
- Get elapsed interval from backendless.
Download
Properties
Class name
- Class name for storing timer structure.
Actions
Initial
Action:Initial table
Timer
Action:Start
- Start timer.
- Timer ( string ) : Name of timer.
- Interval ( number ) : Time-out interval, in seconds.
Action:Get or start
- Get timer.
- Timer ( string ) : Name of timer.
- Interval ( number ) : Time-out interval, in seconds, for starting timer.
Action:Remove
- Remove timer.
- Timer ( string ) : Name of timer.
Action:Get
- Get timer.
- Timer ( string ) : Name of timer.
User info
Action:Set owner
- Set owner info.
- User ID ( string ) : User ID.
Expressions
Error
Expression:ErrorCode
Expression:ErrorMessage
Timer
Expression:LastUserID
- Get owner ID of last triggered timer
Expression:LastTimerName
- Get timer name of last triggered timer
Expression:LastStartTimestamp
- Get start timestamp of last triggered timer under "Condition: On get timer".
Expression:LastCurrentTimestamp
- Get current timestamp of last triggered timer under "Condition: On get timer".
Expression:LastElapsedTime
- Get elapsed time (current - start) of last triggered timer under "Condition: On get timer", in seconds.
Expression:LastTimeoutInterval
- Get time-out interval of last triggered timer under "Condition: On get timer", in seconds.
Expression:LastRemainInterval
- Get interval of last triggered timer under "Condition: On get timer", in seconds.
Conditions
Get timer
Condition:On get timer
- Triggered when get timer.
Condition:On get timer error
- Triggered when get timer error.
Remove timer
Condition:On remove timer complete
- Triggered when remove timer complete.
Condition:On remove timer error
- Triggered when remove timer error.
Start timer
Condition:On start timer
- Triggered when start timer.
Condition:On start timer error
- Triggered when start timer error.
Time out
Condition:Is time-out
- Return true if current triggered timer is time-out under "Condition: On get timer".
Valid
Condition:Is valid
- Return true if get valid timer.