Dalek.DriverNative.Commands.Execute Class
Execute related methods
Item Index
Methods
Methods
_setExecuteCb
(
Object
private
-
script
-
args
-
hash
-
result
Sends out an event with the results of the execute
call
Parameters:
-
script
FunctionScript to execute
-
args
ArrayArguments to pass to the function
-
hash
StringUnique hash of that fn call
-
result
StringSerialized JSON with the results of the call
Returns:
Object:
promise Exists promise
_setExecuteCb
(
Object
private
-
script
-
args
-
timeout
-
hash
-
data
Sends out an event with the results of the waitFor
call
Parameters:
-
script
FunctionScript to execute
-
args
ArrayArguments to pass to the function
-
timeout
IntegerTimeout of the function
-
hash
StringUnique hash of that fn call
-
data
StringSerialized JSON with the reuslts of the toFrame call
Returns:
Object:
Promise
execute
(
chainable
-
script
-
args
-
hash
Executes a JavaScript function
Parameters:
-
script
FunctionScript to execute
-
args
ArrayArguments to pass to the function
-
hash
StringUnique hash of that fn call
execute
(
chainable
-
script
-
args
-
timeout
-
hash
Executes a JavaScript function until the timeout rans out or the function returns true
Parameters:
-
script
FunctionScript to execute
-
args
ArrayArguments to pass to the function
-
timeout
IntegerTimeout of the function
-
hash
StringUnique hash of that fn call