1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-11 11:41:56 +02:00
OpenIntegrations/docs/en/md/TCP/Server-methods/Await-connections.mdx
Vitaly the Alpaca (bot) 473c8f9e5f Main build (Jenkins)
2024-12-20 16:27:30 +03:00

44 lines
878 B
Plaintext

---
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# Await connections
Waiting for connection for the specified time
`Function AwaitConnections(Val TCPServer, Val Timeout = 10) Export`
| Parameter | CLI option | Type | Required | Description |
|-|-|-|-|-|
| TCPServer | - | Arbitrary | ✔ | TCP server object |
| Timeout | - | String, Number | ✖ | Connection timeout |
Returns: Array Of String - Array of addresses of active connections
<br/>
:::tip
If withпandwithto toдtoлюченandй not пуwithт, то ожandданandе toонца таймаута not проandwithходandт
:::
:::caution
**NOCLI:** данный метод недоступен для использования в CLI версии
:::
<br/>
```bsl title="1C:Enterprise/OneScript code example"
```