/**
 * Created by TalhaAkkas on 12/08/15.
 */

self.onmessage = function (msg){
	var data = msg.data;
	if(data.type == "INIT") return;
	//console.log(data, data.timeout)
	var data = parseInt(data.timeout);
	//console.log(data)
	setTimeout(function(){
		postMessage(["Did Return","comma"]);
	}, data);
};