4 repository-uri
Patterns that decouple the trigger of a promise completion from the consumption of its value.
Distinct from Deferred Resolution: None of the candidates cover the promise-specific deferred resolution pattern; most are related to data fetching or UI logic.
Explore 4 awesome GitHub repositories matching software engineering & architecture · Deferred Resolution Patterns. Refine with filters or upvote what's useful.
q is a JavaScript promise library and asynchronous flow controller designed to manage non-blocking operations. It serves as a system for coordinating parallel tasks and sequencing asynchronous workflows through task chaining and error propagation. The library distinguishes itself with specialized debugging tools that capture long stack traces across asynchronous jumps and monitor unhandled rejections to prevent silent failures. It also functions as a remote object proxy, forwarding method calls to remote targets and routing responses back through promises. The project provides comprehensive
Implements the deferred resolution pattern to decouple promise completion logic from value consumption.
React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code. The library distinguishes itself through a normalized cache layer that deduplicates entities and serves repeated requests without network calls, combined with incremental result streaming via the @defer directive for
Implements the @defer directive for incremental delivery of GraphQL query fields as partial results.
Acest proiect este o implementare PHP a specificației GraphQL. Oferă o suită de instrumente pentru construirea de servere care procesează interogări și mutații, incluzând un parser de schemă, un motor de execuție pentru evaluarea operațiunilor și un toolkit pentru manipularea arborilor de sintaxă abstractă (AST). Biblioteca se diferențiază printr-un toolkit AST specializat care permite inspectarea, modificarea și afișarea arborilor de sintaxă abstractă GraphQL. Include, de asemenea, un mecanism pentru rezolvarea amânată a câmpurilor (deferred field resolution), permițând preluarea asincronă a datelor și prevenind blocarea firului principal de execuție. Implementarea acoperă domenii largi de capabilități, inclusiv gestionarea schemelor prin limbajul de definire a schemelor (SDL), validarea documentelor bazată pe reguli pentru securitate și gestionarea formatată a erorilor pentru a asigura răspunsuri conforme cu specificațiile.
Provides a mechanism for deferred field resolution to enable asynchronous data fetching and prevent blocking the execution thread.
Strawberry is a type-safe GraphQL library for Python that enables the design of schemas using Python type annotations and dataclasses. It functions as an asynchronous GraphQL server and execution engine, providing a bridge to expose schemas across ASGI-compliant web frameworks such as FastAPI, Django, Flask, and Litestar. The project implements GraphQL Federation, allowing for the creation of distributed schemas and entities that merge into a unified supergraph across multiple services. It also includes a dedicated toolkit for the Relay specification, supporting global object identification a
Implements the @defer directive to stream partial GraphQL results as they become available.