Dalek.DriverNative.Commands.Execute Class
Execute related methods
Item Index
Methods
_setEvaluateCb
-
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:
promise Exists promise
_setExecuteCb
-
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:
promise Exists promise
_setExecuteCb
-
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:
Promise
execute
-
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
-
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
-
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