//>>built
define("dojox/timing/Streamer",["./_base"],function(){dojo.experimental("dojox.timing.Streamer");return dojox.timing.Streamer=function(d,e,f,g,b){var h=[];this.interval=f||1E3;this.minimumSize=g||10;this.inputFunction=d||function(a){};this.outputFunction=e||function(a){};var a=new dojox.timing.Timer(this.interval);this.setInterval=function(c){this.interval=c;a.setInterval(c)};this.onTick=function(a){};this.start=function(){if("function"==typeof this.inputFunction&&"function"==typeof this.outputFunction)a.start();
else throw Error("You cannot start a Streamer without an input and an output function.");};this.onStart=function(){};this.stop=function(){a.stop()};this.onStop=function(){};a.onTick=this.tick;a.onStart=this.onStart;a.onStop=this.onStop;b&&h.concat(b)}});