Scripting.WaitFor Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9119)
WaitFor(ScriptEvent)
Receives response from the server until a condition is met.
Declaration
public ScriptMatch WaitFor(ScriptEvent scriptEvent)
Parameters
Type | Name | Description |
---|---|---|
ScriptEvent | scriptEvent | Condition to be met. |
Returns
Type | Description |
---|---|
ScriptMatch | Result of the check. |
WaitFor(ScriptEvent[])
Processes response from the server until a condition is met. The events are processed as if the OR operator was applied.
Declaration
public ScriptMatch WaitFor(params ScriptEvent[] events)
Parameters
Type | Name | Description |
---|---|---|
ScriptEvent[] | events | Condition to be met. |
Returns
Type | Description |
---|---|
ScriptMatch | Result of the check. |