delay property
int
get
delay
Retrieves the current delay setting
Returns the current delay in milliseconds.
Implementation
int get delay;
set
delay
(int milliseconds)
Sets the delay for simulated network operations
milliseconds The delay in milliseconds
This method allows you to simulate network latency.
Implementation
set delay(int milliseconds);