mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-27 20:08:34 +00:00
28 lines
397 B
Markdown
28 lines
397 B
Markdown
[**simplex-chat**](README.md)
|
|
|
|
***
|
|
|
|
[simplex-chat](README.md) / [core](Namespace.core.md) / chatRecvMsgWait
|
|
|
|
# Function: chatRecvMsgWait()
|
|
|
|
> **chatRecvMsgWait**(`ctrl`, `wait`): `Promise`\<`ChatEvent` \| `undefined`\>
|
|
|
|
Defined in: [src/core.ts:61](../src/core.ts#L61)
|
|
|
|
Receive chat event
|
|
|
|
## Parameters
|
|
|
|
### ctrl
|
|
|
|
`bigint`
|
|
|
|
### wait
|
|
|
|
`number`
|
|
|
|
## Returns
|
|
|
|
`Promise`\<`ChatEvent` \| `undefined`\>
|