ADAAS
ADAASADAASMarketplace
About

VirtulAPI is a powerful library designed to provide enhanced control over the execution of asynchronous tasks. In VirtulAPI, an asynchronous task is a data-processing pipeline that traverses seamlessly across microservices, contributing to the completion of a unified global task. The library offers a rich set of components that serve as a solid foundation for extensions, featuring a well-defined class hierarchy rigorously tested in diverse production projects.

What makes VirtulAPI worth your time.

  • Async Tasks — model a unit of work as continuous delegation of data processing across microservices toward a larger objective.
  • Connectors — make calls over various protocols for seamless communication between components and microservices.
  • Tasks — represent the transfer of data between the stages of asynchronous processing.
  • Memory — a repository that maintains task state for efficient data management throughout execution.
  • Types Converters — convert data types between components to keep everything compatible and running smoothly.
  • A well-defined, production-tested class hierarchy built as a solid foundation for extensions.

Add VirtulAPI to a Node.js TypeScript project and start orchestrating asynchronous tasks.

  1. Install from npm
    npm install @adaas/virtul-api
  2. Import into your project
    import { AsyncTask } from "@adaas/virtul-api";

    Explore the components: Async Task, Connectors, Task, Memory, Types Converters.

  3. Browse the examples
    See the examples/ directory in the repository

    Detailed usage examples and scenarios.

Get VirtulAPI on your platform.

ResourcesSystem requirements
Runtime
Node.js 18 LTS or newer
Language
TypeScript (built-in type declarations)
Platform
macOS, Windows, Linux