Example process Istance Execute timed functions
Istance process
JPolling.get("process1").start(300, myBeforefunction, 120000, mySecondfunction);

Let's analyze in detail the instruction above.
the get method takes a parameter, the unique name of the process,
if passed a process with that name will be created, otherwise it will be assigned a name automatically
to retrieve the automatically created name,
example:
var process = JPolling.get ("process1"). start (300, myBeforefunction, 120000, mySecondfunction);
  Process Name = process.getId ()

Good thing and always assign a unique process name.
Now let's see in detail the start method.
The start method accepts 4 parameters
1) execution time before declared function
2) first function
3) execution time according to declared function or total duration of the process
4) second function
Execute timed functions 
Controll single process
% Progress for TimeEnd
JPolling.get('process1').stop() JPolling.get('process1').play() JPolling.get('process1').restart()
[Set Time (ms) First Function]
JPolling.get('process1').setTime(100)
[Set Time End (ms) Second Function]
JPolling.get('process1').setTimeEnd(120000)
% Progress for TimeEnd
JPolling.get('process2').stop() JPolling.get('process2').play() JPolling.get('process2').restart()
[Set Time First Function]
JPolling.get('process2').setTime(300)
[Set Time End Second Function]
JPolling.get('process2').setTimeEnd(120000)
Controll all process
JPolling.stopAll() JPolling.playAll() JPolling.restartAll()
JPolling ...