API 0.9.5
CPFunctionOperation Class Reference

Represents an operation using a JavaScript function that can be run in an CPOperationQueue. More...

#import <CPFunctionOperation.h>

Inheritance diagram for CPFunctionOperation:

List of all members.

Instance Methods

(void) - addExecutionFunction:
(CPArray- executionFunctions
(id) - init
(void) - main

Class Methods

(id) + functionOperationWithFunction:

Detailed Description

Represents an operation using a JavaScript function that can be run in an CPOperationQueue.

Definition at line 2 of file CPFunctionOperation.h.


Method Documentation

- (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.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines