Well now I'm curious.. how were you able to resolve the input parameters? This has been one of my larger problems in understanding the API calls.
Lucky guess. I called it with two parameters, name and callback, and then it gave some error about invalid argument and the 2nd argument "interval" needing to be an integer. I deduced that the interval was how often the function is polled in milliseconds.