2023-03-11 16:12:58 -08:00
|
|
|
| Method | Description |
|
|
|
|
|---------------------------------------------|--------------------------------|
|
|
|
|
| [`getStress()`](#getStress) | Gets the current stress level |
|
|
|
|
| [`getStressCapacity()`](#getStressCapacity) | Gets the total stress capacity |
|
|
|
|
|
|
|
|
---
|
|
|
|
### `getStress()`
|
2023-04-13 00:55:20 +02:00
|
|
|
Gets the connected network's current stress level.
|
2023-03-11 16:12:58 -08:00
|
|
|
|
|
|
|
**Returns**
|
2023-04-13 00:55:20 +02:00
|
|
|
- `number` The current stress level in SU.
|
2023-03-11 16:12:58 -08:00
|
|
|
|
|
|
|
---
|
|
|
|
### `getStressCapacity()`
|
2023-04-13 00:55:20 +02:00
|
|
|
Gets the connected network's total stress capacity.
|
2023-03-11 16:12:58 -08:00
|
|
|
|
|
|
|
**Returns**
|
2023-04-13 00:55:20 +02:00
|
|
|
- `number` The total stress capacity in SU.
|