You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
265 B

package helpers
import (
"context"
domainApp "github.com/aldinokemal/go-whatsapp-web-multidevice/domains/app"
"time"
)
func SetAutoConnectAfterBooting(service domainApp.IAppService) {
time.Sleep(2 * time.Second)
_ = service.Reconnect(context.Background())
}