Represents an operation using a JavaScript function that can be run in an CPOperationQueue. More...
#import <CPFunctionOperation.h>
Class Methods | |
(id) | + functionOperationWithFunction: |
Additional Inherited Members | |
![]() | |
CPArray | operations |
Represents an operation using a JavaScript function that can be run in an CPOperationQueue.
Definition at line 2 of file CPFunctionOperation.h.
|
implementation |
Adds the specified JS function to the receiver’s list of functions to perform.
Definition at line 60 of file CPFunctionOperation.j.
|
implementation |
Returns an array containing the functions associated with the receiver.
Definition at line 68 of file CPFunctionOperation.j.
|
implementation |
Creates and returns an CPFunctionOperation object and adds the specified function to it.
Definition at line 76 of file CPFunctionOperation.j.
|
implementation |
Initializes the receiver
Reimplemented from CPOperation.
Definition at line 46 of file CPFunctionOperation.j.
|
implementation |
Reimplemented from CPOperation.
Definition at line 31 of file CPFunctionOperation.j.