C.setTimeout
Set the total remote-call wait.
js
client.setTimeout(milliseconds)Arguments
| Argument | Type | Meaning |
|---|---|---|
milliseconds | number | 1..60000; default 5000. |
Returns
This client.
Example
js
const app = RemoteC.forApp("com.apple.Preferences");
app.setTimeout(3000);Notes
Shares ObjC session lifecycle. Closing/reconnecting either API invalidates both sets of references.