Represents an operation using a JavaScript function that can be run in an CPOperationQueue. More...
Public Member Functions | |
(void) | - addExecutionFunction: [implementation] |
(CPArray) | - executionFunctions [implementation] |
(id) | - init [implementation] |
(void) | - main [implementation] |
Static Public Member Functions | |
(id) | + functionOperationWithFunction: [implementation] |
Represents an operation using a JavaScript function that can be run in an CPOperationQueue.
Definition at line 30 of file CPFunctionOperation.j.
- (void) addExecutionFunction: | (JSObject) | jsFunction | [implementation] |
Adds the specified JS function to the receiver’s list of functions to perform.
Definition at line 61 of file CPFunctionOperation.j.
- (CPArray) executionFunctions | [implementation] |
Returns an array containing the functions associated with the receiver.
Definition at line 69 of file CPFunctionOperation.j.
+ (id) functionOperationWithFunction: | (JSObject) | jsFunction | [implementation] |
Creates and returns an NSFunctionOperation object and adds the specified function to it.
Definition at line 77 of file CPFunctionOperation.j.
- (id) init | [implementation] |
Definition at line 49 of file CPFunctionOperation.j.
- (void) main | [implementation] |
Definition at line 36 of file CPFunctionOperation.j.