var SuperModuleAdapter = function () {
this.adapted = new SuperModule()
}
SuperModuleAdapter.prototype = {
start: function (callback) {
var cb = function(err){
this.adapted.removeListener('error', cb);
this.adapted.removeListener('started', cb);
callback(err); // err == null при started
}
this.adapted.on('started', cb);
this.adapted.on('error', cb);
this.adapted.start();
}
}