#### Example:

```javascript
Timer.thread({
		duration:300, // duration in milliseconds
		timing(timeFraction,elapsed){
			return timeFraction; // you can change this line to return a custom math function for timing
		},
		intervalInterceptor(progress){
			if (progress>=100){
				// do whatever you want here
			}
		}
});
```
