| dojo.provide("dojo.data.core.Result"); |
| dojo.require("dojo.lang.declare"); |
| dojo.require("dojo.experimental"); |
| dojo.experimental("dojo.data.core.Result"); |
| dojo.declare("dojo.data.core.Result",null,{initializer:function(_1,_2){ |
| this.fromKwArgs(_1||{}); |
| this.items=null; |
| this.resultMetadata=null; |
| this.length=-1; |
| this.store=_2; |
| this._aborted=false; |
| this._abortFunc=null; |
| },sync:true,abort:function(){ |
| this._aborted=true; |
| if(this._abortFunc){ |
| this._abortFunc(); |
| } |
| },fromKwArgs:function(_3){ |
| if(typeof _3.saveResult=="undefined"){ |
| this.saveResult=_3.onnext?false:true; |
| } |
| dojo.lang.mixin(this,_3); |
| }}); |