ig.scheduler.OperationResultBase
Dependencies
-
ig.scheduler.OperationResultBase
Constructor- new $.ig.scheduler.OperationResultBase( );
Creates a new instance.
-
completedCallback
- .completedCallback( );
Returns a delegate which is called upon completion of the task associated with this result.
Remarks
Certain ScheduleDataSource methods return a result containing the data yielded by the associated operation.
In cases where the operation executes asynchronously, the CompletedCallback can be used to receive a notification what the operation has completed.
Before assigning a callback, the developer should check the value of the OperationResultBase.status property; if the status is 'Completed', the result is already available, in which case the callback is unnecessary.
-
completedCallback
- .completedCallback( value:function );
Sets a delegate which is called upon completion of the task associated with this result.
- value
- Type:function
Remarks
Certain ScheduleDataSource methods return a result containing the data yielded by the associated operation.
In cases where the operation executes asynchronously, the CompletedCallback can be used to receive a notification what the operation has completed.
Before assigning a callback, the developer should check the value of the OperationResultBase.status property; if the status is 'Completed', the result is already available, in which case the callback is unnecessary.
-
status
- .status( );
- Return Type:
- ig.scheduler.OperationStatus
- Return Type Description:
- Returns a OperationStatus.
Returns a constant which describes the current status of the operation.
See Also