![]() |
API
0.9.7
|
Represents an operation using a JavaScript function that can be run in an CPOperationQueue. More...
#import <CPFunctionOperation.h>
Instance Methods | |
(void) | - addExecutionFunction: |
(CPArray) | - executionFunctions |
(id) | - init |
(void) | - main |
![]() | |
(void) | - addDependency: |
(void) | - cancel |
(JSObject) | - completionFunction |
(CPArray) | - dependencies |
(BOOL) | - isCancelled |
(BOOL) | - isConcurrent |
(BOOL) | - isExecuting |
(BOOL) | - isFinished |
(BOOL) | - isReady |
(void) | - observeValueForKeyPath:ofObject:change:context: |
(int) | - queuePriority |
(void) | - removeDependency: |
(void) | - setCompletionFunction: |
(void) | - setQueuePriority: |
(void) | - start |
(void) | - waitUntilFinished |
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 61 of file CPFunctionOperation.j.
|
implementation |
Returns an array containing the functions associated with the receiver.
Definition at line 69 of file CPFunctionOperation.j.
|
implementation |
Creates and returns an CPFunctionOperation object and adds the specified function to it.
Definition at line 77 of file CPFunctionOperation.j.
|
implementation |
Reimplemented from CPOperation.
Definition at line 47 of file CPFunctionOperation.j.
|
implementation |
Reimplemented from CPOperation.
Definition at line 32 of file CPFunctionOperation.j.