Sha256: f5147d29c9b113f56f10001a3ec6f40d2cec1e1f8e5bc5b88f1ece57673dc524

Contents?: true

Size: 815 Bytes

Versions: 21

Compression:

Stored size: 815 Bytes

Contents

#Timer service
This service manages the `int_timer` function (which is a little different than how most modules work). When an `int_timer` request
comes in, the timer service dispatches it to an apprpriate controller event handler.

Timer service mantains an `timer_evt` which contains an array of arrays for interval timers that will be called (recurring) periodically.
The elements of `timer_evt` are an array with the following information: `[tps, base_pointer, event_name]`.  When `int_timer` is called,
it will send events to all entries in `timer_evt` which have a `ticks` that is a modulo of `ttick`; the global tick counter.

###Info to start a request
```js
var info = {
  ticks: 4,
}
```
`ticks` the number of ticks to wait between fires.

When you receive a request back, you will receive 
```js
{
}
```

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
flok-0.0.36 docs/services/timer.md
flok-0.0.35 docs/services/timer.md
flok-0.0.34 docs/services/timer.md
flok-0.0.33 docs/services/timer.md
flok-0.0.32 docs/services/timer.md
flok-0.0.31 docs/services/timer.md
flok-0.0.30 docs/services/timer.md
flok-0.0.29 docs/services/timer.md
flok-0.0.28 docs/services/timer.md
flok-0.0.27 docs/services/timer.md
flok-0.0.26 docs/services/timer.md
flok-0.0.25 docs/services/timer.md
flok-0.0.24 docs/services/timer.md
flok-0.0.23 docs/services/timer.md
flok-0.0.21 docs/services/timer.md
flok-0.0.20 docs/services/timer.md
flok-0.0.19 docs/services/timer.md
flok-0.0.18 docs/services/timer.md
flok-0.0.17 docs/services/timer.md
flok-0.0.16 docs/services/timer.md