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 是一个无头浏览器测试框架和 Web 功能测试套件。它提供了一套用于自动化 Web 浏览器交互的工具,以执行 Web 应用的功能测试和视觉验证。 该项目作为 WebDriver 自动化工具和浏览器截图工具运行,能够捕获网页或特定元素的图像以验证视觉布局。它还充当 XML 测试报告生成器,将自动化浏览器测试套件的结果导出为标准格式,以便于报告工具使用。 该框架涵盖自动化浏览器测试、Web 功能验证和视觉回归测试。其功能包括 Web 应用质量保证,以及通过编程方式导航网站以提取数据和下载远程资源的网页抓取。
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 是一个 .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 提供包装器,以简化异步任务和队列的管理。它作为一个任务调度器,用于代码块的执行、计时和编排。 该项目包含一个任务链式处理器,用于在不同线程间序列化操作而无需嵌套回调结构,以及一个将迭代分布在多个线程上的并发循环包装器。它还具有基于令牌的取消系统,用于在挂起操作运行前从执行队列中跟踪并移除它们。 该库通过协调异步组和同步多个任务以在集体完成后触发操作,涵盖了并发管理功能。
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 语言的综合性能编程指南和参考,专注于运行时效率和内存优化。它提供了一系列模式和技术,旨在通过减少垃圾回收开销和优化内存使用来提高执行速度。 该资源通过详细的内存优化参考实现脱颖而出,例如逃逸分析、对象池和结构体内存对齐。它提供了减少二进制大小和通过结构体内存布局优化及使用零分配占位符来提高 CPU 缓存效率的具体策略。 该项目涵盖了广泛的后端工程功能,包括使用工作池和同步原语的并发管理、高性能 RPC 和 HTTP 路由以及分布式缓存策略。它还包括通过 CPU 和内存分析进行可观测性的指南,以及用于功能单元测试和模拟对象生成的质量保证模式。 内容结构化为一系列教程、架构示例和基准测试指南,以帮助开发者分析和修复性能瓶颈。
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.