14.3 Handling Asynchronous Requests in Graph Server (PGX)

This guide explains in detail the asynchronous methods supported by the PGX API.

The PGX API is designed to be asynchronous. This means that all of its core methods ending with Async do not block the caller thread until the request is completed. Instead, a PgxFuture object is instantly returned.

You can perform the following three actions on the returned PgxFuture object:
  • Block
  • Chain
  • Cancel