![]() |
API 0.9.5
|
Represents an operation using a JavaScript function that can be run in an CPOperationQueue. More...
#import <CPFunctionOperation.h>
Inheritance diagram for CPFunctionOperation:Instance Methods | |
| (void) | - addExecutionFunction: |
| (CPArray) | - executionFunctions |
| (id) | - init |
| (void) | - main |
Class Methods | |
| (id) | + functionOperationWithFunction: |
Represents an operation using a JavaScript function that can be run in an CPOperationQueue.
Definition at line 2 of file CPFunctionOperation.h.
| - (void) addExecutionFunction: | (JSObject) | jsFunction |
Adds the specified JS function to the receiver’s list of functions to perform.
Definition at line 61 of file CPFunctionOperation.j.
| - (CPArray) executionFunctions |
Returns an array containing the functions associated with the receiver.
Definition at line 69 of file CPFunctionOperation.j.
| + (id) functionOperationWithFunction: | (JSObject) | jsFunction |
Creates and returns an CPFunctionOperation object and adds the specified function to it.
Definition at line 77 of file CPFunctionOperation.j.
| - (id) init |
Reimplemented from CPOperation.
Definition at line 47 of file CPFunctionOperation.j.
| - (void) main |
Reimplemented from CPOperation.
Definition at line 32 of file CPFunctionOperation.j.