Run the function in a separate thread
A streaming way to send data to a Node.js Worker Thread
Utilities for executing code in Web Workers
Properly hijack require, i.e., properly define require hooks and customizations
Serialize JavaScript to a superset of JSON that includes regular expressions and functions.
Runs the following loaders in a worker pool
A native Node.js module that can capture JavaScript stack traces from main and worker threads, even with blocked event loops.
A set of efficient utilities that extend the use of JSON (streaming, estimate size, NDJSON/JSONL, etc.)
Make a synchronous function asynchronous by running it in a worker
Use Rollup with workers and ES6 modules today.
Library with base interfaces for LangGraph checkpoint savers.
WASI threads proposal implementation in JavaScript
Fast and consistently responsive apps using a single function call
Run a function with the possibility to interrupt it from another thread
A mutex for guarding async workflows
MSR JavaScript Cryptography Library
Client library for interacting with the LangGraph API
Azure AI Agents client library.
Get CPU usage per thread
Thread comment integration for Univer Sheets.
Thread comment UI integration for Univer Docs.
Shared thread comment UI components and services for Univer.
Thread comment UI integration for Univer Sheets.
Shared thread comment models, commands, and services for Univer.
Lightweight framework for functional testing. Supports threading, scenario parametrization, different test environments and much more.
Basic thread library with which you can manage initialize, main, monitor, queue and finish functions.
A reactor pattern batching system for Ruby. It provides simple functionality for batching work in background thread. Also adds simple but powerful work partitioning behaviour
Functions for use in unit tests to check for race conditions when using multiple threads. R3T reproducibly detects them by manually controlling the thread scheduler and can also check if synchronizations (Monitor/Mutex/Sync) do their work well.
Adds comments functionality to Rails/ActiveRecord models. It uses the [ancestry gem](https://github.com/stefankroes/ancestry) to add thread/reply
bbv.Common is a library of .NET components and functionality including: * (a)synchronous notification component with thread switching using publisher-subscriber pattern, * hierarchical state machine with fluent definition syntax, * programmatic, loosely coupled, context based rule engine, * support for active objects to build multi-threaded applications
The Mutagem library provides file based mutexes for recursion protection and classes for threading of external processes with support for output and exit status capturing. A test suite is provided for both unit and functional testing. The code is documented using YARD.
ruby-timeout-safe is a Ruby library that provides a safe and reliable timeout functionality for executing Ruby blocks. It uses Ruby's threading and monotonic time to ensure that timeouts are enforced even in the presence of blocking operations or long-running computations. The gem defines a `RubyTimeoutSafe` module with a `timeout` method that executes a given Ruby block with a specified timeout duration. If the block execution exceeds the timeout, a `Timeout::Error` exception is raised. This implementation leverages Ruby's built-in threading and monotonic time functions to provide a robust timeout mechanism.
Provides methods to spawn a background process for ActiveRecord. It is recommended to use it with Threads if you have long-taking functions on the database side.
The RTF library provides a pure Ruby set of functionality that can be used to programmatically create RTF documents. The main aim in developing this library is to ease the complexity involved in assembling RTF documents although some consideration has also been given to generating documents that are easier to manually interpret too. This library does not include functionality for parsing RTF documents. Nor does the library claim to provide extensive coverage of the RTF specification. The library was developed mostly with reference to the RTF Pocket Guide by Sean M. Burke and some reference to the RTF specification itself. The introduction to the RTF Pocket Guide states that the book covers version 1.7 of the RTF specification so I guess, as this was the primary source, that this is the version that the library covers too. Finally, no consideration was given to making the functionality within the library thread safe. In creating this library I set out to make it reasonably easy to create RTF documents in code. Having said that I'm certain that it is possible to generate invalid RTF documents with this library.
This gem extends ActiveRecord to add additional functionality to JSONB - use PostgreSQL JSONB data for associations - thread-safe single-key updates to JSONB columns using `jsonb_set` - extended `table#references` for easy migrations and indexes - virtual JSONB foreign keys using check constraints (NOTE: real foreign key constraints are not possible with PostgreSQL JSONB) Inspired by activerecord-jsonb-associations, but for use in Rails 6+ and ruby 2.7+ and with some unnecessary options and features (HABTM) removed and some additional features added
Note: Version 1.0.0 introduces some breaking changes. Make sure to read the documentation in case something is breaking at your end. 'cmdserver' is a simple, multi-threaded, module based and extensible command server with a straight forward API. Much of the functionality relies on ruby's ability to override module definitions at runtime. This, in turn becomes the servers protocol. Read the documentation further details. Gem includes an executable launching the server with a simple template file for getting started with writting protocol extension modules.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.