Skip to content

Fix build + start client in asynchronous mode#666

Open
GDB4J wants to merge 2 commits intoAuties00:masterfrom
GDB4J:master
Open

Fix build + start client in asynchronous mode#666
GDB4J wants to merge 2 commits intoAuties00:masterfrom
GDB4J:master

Conversation

@GDB4J
Copy link
Contributor

@GDB4J GDB4J commented Jan 2, 2026

Fix build

Build is currently failing due to a misplaced and duplicated name method in the Web builder.
Probably due to my contribution earlier of the name method in the Web builder.

Start the client in a asynchronous way

There seems currently no way to start the client in a asynchronous, which was earlier on possible with the join method.
Since the refactorring, this seems no longer possible, but it is still a nice feature to provide.
Therefore I've proposed a method async in the WhatsAppClient class to start the client in a new virtual thread.
Please review.

Thanks,
KR

@Auties00
Copy link
Owner

Auties00 commented Jan 2, 2026

Use virtual threads instead of completabile future, that's why

@GDB4J
Copy link
Contributor Author

GDB4J commented Jan 4, 2026

Use virtual threads instead of completabile future, that's why

Indeed!

That's the reason why i think a new method would be nice to be able to start / run the client asynchronous ... therefore my proposal

Ps I am currently not able to send images / media with the current master branch, is this part supposed to be already working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants