mirror of
https://github.com/Naios/continuable.git
synced 2025-12-06 16:56:44 +08:00
minor improvements
This commit is contained in:
parent
9f300419d2
commit
89ce1a9616
@ -27,7 +27,8 @@ Continuable<std::string> continuable =
|
||||
```c++
|
||||
Continuable<ResultSet> mysql_query(std::string&& query)
|
||||
{
|
||||
return make_continuable([query = std::move(query)](Callback<ResultSet>&& callback) mutable
|
||||
return make_continuable(
|
||||
[query = std::move(query)](Callback<ResultSet>&& callback) mutable
|
||||
{
|
||||
// Pass the callback to the handler
|
||||
// which calls the callback when finished.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user