Gqlgen: Concurrency

Created on 25 Mar 2019  路  1Comment  路  Source: 99designs/gqlgen

Hi, I am a little confused. Is there anything I will have to do additionally inside the resolver functions to achieve concurrency? I come from the NodeJS background of async-await. If I am correct gqlgen handles concurrency as part of the generated code. Can you please confirm? If I have to do anything, can you please share a sample concurrency-hello-world?

Most helpful comment

Resolver functions are called concurrently, there's nothing additional you need to do to get this behaviour.

>All comments

Resolver functions are called concurrently, there's nothing additional you need to do to get this behaviour.

Was this page helpful?
0 / 5 - 0 ratings