Asynchronously execute javascript code from specified file with input/output interaction
Namespace: NReco.PhantomJSAssembly: NReco.PhantomJS (in NReco.PhantomJS.dll) Version: 1.0.2.0 (1.0.2.0)
public Task RunAsync(
string jsFile,
string[] jsArgs
)
public Task RunAsync(
string jsFile,
string[] jsArgs
)
Public Function RunAsync (
jsFile As String,
jsArgs As String()
) As Task
Public Function RunAsync (
jsFile As String,
jsArgs As String()
) As Task
public:
Task^ RunAsync(
String^ jsFile,
array<String^>^ jsArgs
)
public:
Task^ RunAsync(
String^ jsFile,
array<String^>^ jsArgs
)
member RunAsync :
jsFile : string *
jsArgs : string[] -> Task
member RunAsync :
jsFile : string *
jsArgs : string[] -> Task
Parameters
- jsFile
- Type: System String
URL or local path to javascript file to execute
- jsArgs
- Type: System String
arguments for javascript code (optional; can be null)
Return Value
Type:
Task