Graphene is a more pythonic wrapper ontop of a lower-level library called graphql-core[1], which provides async execution using execution middlewares [2].<p>As far as how a data-loader is implemented, I have a few experiments doing it with gevent, but nothing prod ready. Essentially you can just use the `loop.run_callback` function to get the &quot;next tick&quot; semantics. I combined this along with gevent&#x27;s AsyncResult to provide a pythonic coroutine based implementation of FB&#x27;s datawrapper.<p><pre><code>    [1] https:&#x2F;&#x2F;github.com&#x2F;graphql-python&#x2F;graphql-core
    [2] https:&#x2F;&#x2F;github.com&#x2F;graphql-python&#x2F;graphql-core&#x2F;tree&#x2F;master&#x2F;graphql&#x2F;core&#x2F;execution&#x2F;middlewares</code></pre>