2 个仓库
Proxy objects that wrap properties and methods to return promises instead of immediate values.
Distinct from Proxy Objects: Focuses on the asynchronous nature of the property access/method call via promises, not just general interception.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Asynchronous Proxy Accessors. 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
Allows asynchronous manipulation of proxied object properties and methods using promise-based getters and setters.
Workerize 是一个 Web Worker 模块加载器和主线程卸载器。它作为一个异步代理包装器,允许 JavaScript 模块在后台 Worker 中运行,通过将计算密集型任务委托给单独的线程来防止浏览器 UI 冻结。 该项目利用基于代理的接口来调用后台 Worker 内部的函数,就像它们是本地异步调用一样。这种机制使得能够在并行 Worker 中执行模块,以保持主线程的响应性。 该系统涵盖了异步模块执行和 Web Worker 集成,专注于通过将繁重逻辑移出主执行线程来优化主线程。
Provides a proxy-based interface that allows worker functions to be called as if they were local asynchronous calls.