4 مستودعات
Wraps legacy callback-based asynchronous code into composable effects with typed error handling.
Distinct from Callback-Based: Distinct from Callback-Based: focuses on wrapping callbacks into effect types, not defining callback-based APIs.
Explore 4 awesome GitHub repositories matching operating systems & systems programming · Callback Wrapping. Refine with filters or upvote what's useful.
OkHttpUtils is a convenience wrapper for the OkHttp HTTP client that simplifies common networking operations on Android. It provides a straightforward interface for executing GET and POST requests, including sending form parameters and JSON payloads, as well as uploading files via multipart form data and downloading remote files to local storage. The library distinguishes itself through a set of practical utilities built on top of OkHttp's core architecture. It wraps synchronous calls into an asynchronous callback pattern, includes an interceptor-based logging layer for request and response d
Wraps synchronous OkHttp calls into asynchronous callbacks for Android UI thread safety.
Quasar هو إطار عمل للتزامن في JVM ينفذ نموذج الممثل (actor model) ومكتبة خيوط خفيفة الوزن. يوفر وحدات تنفيذ معزولة تتواصل عبر تمرير الرسائل غير المتزامن للقضاء على الحالة القابلة للتغيير المشتركة. يتميز المشروع بنظام ممثل موزع قادر على العمل عبر عقد عنقودية متعددة مع سجلات شفافة الموقع وترحيل حالة الممثل. يستخدم مجدول ألياف (fiber scheduler) يعتمد على سرقة العمل لإدارة ملايين الخيوط خفيفة الوزن، مما يسمح للمهام بالتعليق أثناء عمليات الإدخال/الإخراج غير المحظورة دون إيقاف خيوط النظام الأساسية. يشمل إطار العمل مجموعة واسعة من القدرات، بما في ذلك التسلسلات الهرمية الإشرافية للاسترداد المقاوم للأخطاء وقنوات الاتصال على طراز CSP لمزامنة تدفق البيانات. كما يوفر بدائيات لتنسيق المهام عبر العقود الآجلة (futures) ومتغيرات تدفق البيانات، بالإضافة إلى أدوات لمراقبة صحة الألياف واكتشاف التنفيذ الجامح. تم تنفيذ النظام بلغة Java.
Transforms callback-based asynchronous operations into synchronous fiber-blocking calls to eliminate nesting.
ZIO is a functional effect system for the JVM that models asynchronous and concurrent programs as pure, composable values with typed error handling and dependency injection. Its core identity is built on fiber-based concurrency, where lightweight, non-blocking fibers execute millions of concurrent tasks with structured lifecycle management, and a dual-channel error model that separates expected business failures from unexpected system defects at compile time. The system provides effect-typed dependency injection through a layer-based dependency graph, pull-based reactive stream processing with
ZIO wraps legacy callback-based asynchronous code into a composable effect that supports error handling and for-comprehension syntax.
Badjs-report is a client-side JavaScript library designed to capture, manage, and report runtime exceptions and telemetry data from web applications to a remote server. It functions as a diagnostic framework that automatically intercepts global errors and wraps asynchronous operations to ensure that issues are tracked without requiring manual instrumentation throughout the codebase. The library distinguishes itself through its focus on traffic optimization and data reliability. It employs deduplication logic to suppress redundant error reports and applies probabilistic sampling to manage the
Wraps native timer and promise functions to inject error-catching logic into the execution flow of asynchronous application code.