Plugin : Timer

Author:Rex.Rainbow

Download

Properties

Class name

  • Class name for storing timer structure.

Cache

  • Cache objectID of timer.
    • Options : ["No","Yes"]

Actions

Initial

Action:Initial table

  • Initial table.

Timer

Action:Start

  • Start timer.
    • User ID ( string ) : User ID.
    • Timer ( string ) : Name of timer.
    • Interval ( number ) : Time-out interval, in seconds.

Action:Get or start

  • Get timer.
    • User ID ( string ) : User ID.
    • Timer ( string ) : Name of timer.
    • Interval ( number ) : Time-out interval, in seconds, for starting timer.

Action:Remove

  • Remove timer.
    • User ID ( string ) : User ID.
    • Timer ( string ) : Name of timer.

Action:Get

  • Get timer.
    • User ID ( string ) : User ID.
    • Timer ( string ) : Name of timer.

Expressions

Error

Expression:ErrorCode

  • Error code.

Expression:ErrorMessage

  • Error message.

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.

Expression:LastOwnerID

  • Get owner ID of last triggered timer

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.