9 مستودعات
Patterns for executing sequences of success and failure callbacks following asynchronous system operations.
Distinct from Scan Success and Failure Callbacks: Focuses on the generic architectural pattern of callback chains for system responses, rather than specific barcode or authentication hooks.
Explore 9 awesome GitHub repositories matching software engineering & architecture · Asynchronous Callback Chains. Refine with filters or upvote what's useful.
CasperJS is a headless browser testing framework and web functional testing suite. It provides a toolkit for automating web browser interactions to perform functional testing and visual verification of web applications. The project functions as a WebDriver automation tool and a browser screenshot utility, enabling the capture of images of web pages or specific elements to verify visual layout. It also serves as an XML test report generator, exporting the results of automated browser test suites into a standardized format for reporting tools. The framework covers automated browser testing, fu
Implements a chain of callbacks to manage sequential, non-blocking browser interactions during test execution.
AndPermission is a unified API manager for coordinating runtime permissions, secure file sharing, and high-privilege system access on Android. It provides a lifecycle-aware wrapper for handling dangerous permissions and user consent callbacks through a centralized permissions manager. The project distinguishes itself by managing special permissions that require high-privilege access, such as notification monitoring, screen overlays, and the ability to install applications from unknown sources. It also includes a dedicated tool for secure file sharing that generates temporary read and write ac
Implements a chain of success and failure callbacks to handle the asynchronous nature of Android permission grants.
Transitions is an object-oriented finite state machine library for Python. It provides a framework for managing valid states and the logic for moving between them, including implementations for asynchronous state machines and thread-safe state managers. The library supports hierarchical state machines that allow states to be nested to organize complex subtasks and logical contexts. It includes tools for generating visual diagrams of states and transitions to document machine logic. The project covers state management primitives such as lifecycle callbacks, conditional transition guarding, an
Implements an asynchronous state machine that manages concurrent events and transitions using task runners.
Stateless هي مكتبة آلة حالة (state machine) لـ .NET تُستخدم لإدارة سلوكيات الكائنات المعقدة وسير العمل الخفيف من خلال كود C#. تعمل كمحرك سير عمل غير متزامن ينفذ انتقالات الحالة، والحراس، وإجراءات الدخول والخروج باستخدام مهام غير متزامنة. تنفذ المكتبة آلة حالة هرمية، مما يسمح للحالات الفرعية بوراثة الانتقالات والخصائص من الحالات الفائقة الأصلية. تتضمن إطار عمل لاستمرارية الحالة يفصل تتبع الحالة عن منطق الآلة من خلال قراءة وكتابة الحالة الحالية إلى خصائص خارجية أو قواعد بيانات. بالإضافة إلى ذلك، تتميز بمصدر لتصور الرسوم البيانية يولد تنسيقات DOT أو Mermaid لعرض تكوينات سير العمل كرسوم بيانية مرئية. يغطي النظام تعيين الانتقالات مع دعم للانتقالات القابلة لإعادة الدخول والداخلية، وبنود الحراسة القائمة على التنبؤ، وإرسال المشغلات البارامترية. كما يوفر قدرات لاستبطان تكوين الآلة، وإشعارات تغيير الحالة، وتنفيذ المنطق المتزامن أو غير المتزامن أثناء دخول وخروج الحالات.
Executes state transitions, entry, and exit handlers asynchronously to prevent thread blocking.
Effector is a reactive state management library and data flow orchestrator designed for building complex, event-driven applications. It models application logic as a directed acyclic graph, where state updates and asynchronous side effects propagate automatically through declarative pipelines. By decoupling business logic from user interface layers, it allows developers to maintain state in independent containers that communicate via standard interfaces, ensuring the system remains framework-agnostic. The library distinguishes itself through its robust support for isolated execution scopes, w
Chains asynchronous operations to ensure subsequent requests trigger only after preceding dependencies complete.
Async هي مكتبة Swift توفر مغلفاً لـ Grand Central Dispatch لتبسيط إدارة المهام والطوابير غير المتزامنة. تعمل كجدول مهام لتنفيذ وتوقيت وتنسيق كتل الكود. يتضمن المشروع مسلسلاً للمهام لتسلسل العمليات عبر خيوط مختلفة دون هياكل رد اتصال متداخلة (nested callback) ومغلف حلقة متزامن يوزع التكرارات عبر خيوط متعددة. كما يتميز بنظام إلغاء قائم على الرموز لتتبع وإزالة العمليات المعلقة من طابور التنفيذ قبل تشغيلها. تغطي المكتبة إدارة التزامن من خلال تنسيق المجموعات غير المتزامنة ومزامنة المهام المتعددة لتشغيل الإجراءات عند اكتمالها الجماعي.
Provides a flat syntax for sequencing operations across different threads to eliminate deeply nested callback structures.
This repository is a collection of JavaScript coding challenges and a comprehensive interview guide. It provides reference implementations and educational examples designed to help developers master language fundamentals and prepare for technical interviews. The project covers a wide array of specialized implementations, including functional programming patterns like currying and partial application, as well as asynchronous patterns for concurrency control. It also includes practical examples of Document Object Model manipulation and the implementation of common data structures such as stacks
Implements the execution of asynchronous functions in a fixed sequence using promises or async/await.
هذا المشروع عبارة عن دليل برمجة أداء شامل ومرجع للغة Go، مع التركيز على كفاءة وقت التشغيل وتحسين الذاكرة. يوفر مجموعة من الأنماط والتقنيات المصممة لزيادة سرعة التنفيذ عن طريق تقليل حمل جمع القمامة (garbage collection) وتحسين استخدام الذاكرة. يتميز المورد بتنفيذات مرجعية مفصلة لتحسين الذاكرة، مثل تحليل الهروب (escape analysis)، وتجميع الكائنات (object pooling)، ومحاذاة ذاكرة الهياكل. ويقدم استراتيجيات محددة لتقليل حجم الملف الثنائي وتحسين كفاءة ذاكرة التخزين المؤقت للمعالج (CPU cache) من خلال تحسين تخطيط ذاكرة الهياكل واستخدام عناصر نائبة خالية من التخصيص. يغطي المشروع نطاقاً واسعاً من قدرات هندسة الواجهة الخلفية، بما في ذلك إدارة التزامن مع مجموعات العمال (worker pools) وبدائيات المزامنة، وRPC عالي الأداء وتوجيه HTTP، واستراتيجيات التخزين المؤقت الموزعة. كما يتضمن توجيهات حول الملاحظة من خلال تحليل أداء المعالج والذاكرة، بالإضافة إلى أنماط ضمان الجودة لاختبار الوحدات الوظيفية وتوليد الكائنات الوهمية (mock objects). يتم تنظيم المحتوى كسلسلة من البرامج التعليمية، والأمثلة المعمارية، وأدلة قياس الأداء لمساعدة المطورين على تحليل وإصلاح اختناقات الأداء.
Implements architectural patterns for executing sequences of success and failure callbacks following asynchronous operations.
Tapable is a JavaScript plugin architecture framework and event-driven hook library. It serves as a high-performance callback engine and asynchronous workflow coordinator for building extensible systems. The library differentiates itself by compiling plugin logic into cached functions to minimize dispatch overhead. It provides a variety of execution patterns, including serial, parallel, and waterfall flows, as well as looping sequences and short-circuit execution. The framework covers the definition of custom event hooks, the management of plugin execution ordering, and the interception of h
Implements asynchronous callback chains to coordinate serial, parallel, waterfall, and looping execution flows.