ddbc with Vibe-d

Steve fakename at fakeaddress.com
Sun Feb 12 18:01:24 UTC 2023


On Sunday, 12 February 2023 at 15:24:14 UTC, Steven Schveighoffer 
wrote:
> Any synchronous calls will just be synchronous. They aren't 
> going to participate in the async i/o that vibe uses.
>
> In other words, when you block on a call to sqlite, it will 
> block everything else in your web server until that completes.
>


Would this be the correct approach to stop it blocking?:
```d
auto result = async(&doSqliteStuff, args...).getResult();
```


More information about the Digitalmars-d-learn mailing list