Promises and MySql seem to not return
Henrik Grubbström @ Pike importmöte för mailin glistan <[email protected]> Tue, 19 Mar 2024 22:09:01 +0100
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
> Hey, folks. Hi Mike. > We have a MySql database we need to connect to on this project, and > having trouble getting asynchronous requests to work. > > If we use `dbconn->typed_query`, we get the expected response. > > With promise_query, seeing: `SQL status: still running...` > > Chris Angelico promises (pun intended) to pry further into it, and I > hope you don't mind more spam from me in the meantime. > [...] The first thing to check is: Have you started the default backend (ie returned -1 or a Concurrent.Future from main()? > Thanks much and have a good and great one. /grubba