whatsmeow icon indicating copy to clipboard operation
whatsmeow copied to clipboard

Add ConnectWithTimeout method to support having a timeout when connecting.

Open ALiwoto opened this issue 9 months ago • 1 comments

This pull request adds a new method called ConnectWithTimeout to support having a timeout set when connecting to whatsapp. This context.Conext is later on passed to fs and is used when connecting (previously, we have been using contect.Backgound() for the fs). Can also use context.Background() if we do not want any timeout.

ALiwoto avatar May 24 '24 10:05 ALiwoto