We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notify can only recieve when sendNotify is send through the same connection with the notify.
proc testConnectionNotify(conn, conn2: apgConnection): Future[bool] {.async.} = var r1 = false var r2 = false await conn.listenNotify("testChannel") var notifyFuture1 = conn.notify("testChannel") await conn2.sendNotify("testChannel", "payload") #await conn.sendNotify("testChannel", "payload") var sleepFuture1 = sleepAsync(100) await notifyFuture1 or sleepFuture1 if notifyFuture1.finished: echo notifyFuture1.read.payload r1 = true return true else: echo "failed" return false
The text was updated successfully, but these errors were encountered:
I'm encountering the same issue for now, is there any solution?
Sorry, something went wrong.
No branches or pull requests
Notify can only recieve when sendNotify is send through the same connection with the notify.
The text was updated successfully, but these errors were encountered: