poggit / libasynql

Asynchronous MySQL access library for PocketMine plugins.
https://poggit.github.io/libasynql
Apache License 2.0
134 stars 45 forks source link

Check if the query is done? #14

Closed ghost closed 5 years ago

ghost commented 5 years ago

is there a way to Check if the query is done?

SOF3 commented 5 years ago

Make use of the callback. It is not the responsibility of libasynql to help you manage asynchronous programming. You may want to have a look at await-generator.

rjworks commented 4 years ago

Will await generator work with executechange? I don't see executeChange in the example at all.

SOF3 commented 4 years ago

Analogous approach works. await-generator is for syntactic sugar of callbacks <-> generators in general. await-generator and libasynql are not directly related to each other.