xmtp / libxmtp

MIT License
33 stars 13 forks source link

Feature request: make stream all messages sync #834

Closed rygine closed 1 week ago

rygine commented 3 weeks ago

Is your feature request related to a problem?

napi-rs has a limitation with thread safe functions and async functions, which prevents the use of stream_all_messages_with_callback in the Node bindings. access to this function is essential for the creation of bots.

Describe the solution to the problem

make stream_all_messages_with_callback sync

Describe the uses cases for the feature

this will allow bots to be created that listen for all messages on all groups, rather than just on a single group.

Additional details

No response