Files
simplex-chat/packages/simplex-chat-nodejs/docs/core.Function.chatRecvMsgWait.md
T
EvgenyandEvgeny @ SimpleX Chat 46b2cf9f85 nodejs: add tests to library (#7694)
* nodejs: add tests to library

* new tests

* remove message splitting

* fix race

* docs

* replace extract-zip with yauzl that it wraps (high severity issue)

* fix ci tests

* skip server tests on macos and win unless SMP_SERVER is set

* fix win test

* fix win test

---------

Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
2026-10-19 19:49:44 +01:00

28 lines
393 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:62](../core.ts#L62)
Receive chat event
## Parameters
### ctrl
`bigint`
### wait
`number`
## Returns
`Promise`\<`ChatEvent` \| `undefined`\>