ig.scheduler.ActivityOperationResult`1
Dependencies
-
activity
- .activity( );
Returns a reference to the activity associated with this operation.
-
completedCallback
Inherited- .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
Inherited- .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.
-
error
- .error( );
- Return Type:
- ig.scheduler.DataError
- Return Type Description:
- Returns a DataError.
Returns a DataError object containing detailed information about the reason for failure, or null if the operation was successful.
See Also
-
operation
- .operation( );
- Return Type:
- ig.scheduler.ActivityOperation
- Return Type Description:
- Returns a ActivityOperation.
Returns a constant which identifies the operation, i.e., create, delete, or update.
See Also
-
status
Inherited- .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