# Module `CTaskTimer`

The class for task

This is version 0.9 beta of the class for tasks

## Global(s)

CTaskTimer() | Constructor of the class CTaskTimer
tasktimer | A global object of the class CTaskTimer This is the default object

## Type `CTaskTimer`

CTaskTimer.empty() | Get if the list is empty?
CTaskTimer.getn() | Get the size of the list
CTaskTimer.list() | List values on screen
CTaskTimer.new() | It's a fabric method for objects of the class CTaskStack
CTaskTimer.registerTask(name, time, func, ...) | Add a task with a timer to the taskplaner so it can run when expected.
CTaskTimer.timed_run(msec) | Let the planned tasks run
CTaskTimer.unregisterTaskTimer(name) | Remove a planed task from the entry

## Global(s)

CTaskTimer()

  Constructor of the class CTaskTimer

tasktimer

  A global object of the class CTaskTimer This is the default object

## Type `CTaskTimer`

### Field(s)

CTaskTimer.empty()

  Get if the list is empty?

  ### Return value

  #boolean: if the stack is empty or not.

CTaskTimer.getn()

  Get the size of the list

  ### Return value

  #number: size of the list..

CTaskTimer.list()

  List values on screen

CTaskTimer.new()

  It's a fabric method for objects of the class CTaskStack

  ### Return value

  #CTaskTimer: new instanced object of CTaskTimer

CTaskTimer.registerTask(name, time, func, ...)

  Add a task with a timer to the taskplaner so it can run when expected.

  ### Parameters

  - `#string name` : The name of the label for this task

  - `#number time` : In which interval the task should be called in millisecounds.

  - `#function func` : The function which should be called in this task

  - `#vars ...` : List of args which should append on this task

CTaskTimer.timed_run(msec)

  Let the planned tasks run

  ### Parameter

  - `#number msec` : How much time the timedisk should consume

CTaskTimer.unregisterTaskTimer(name)

  Remove a planed task from the entry

  ### Parameter

  - `#string name` : The name of the label for this task

## Type `var`

Any type of var including lists

## Type `vars`

One or more incoming argument.