1.1.0 • Published 2 years ago

xrtlibrary-asynclite v1.1.0

Weekly downloads
2
License
BSD-3-Clause
Repository
-
Last release
2 years ago

XRTLibrary-AsyncLite

Introduction

This library is a lited(lightweight) version of xtlibrary-async library (npm, Internal Git repository), it provides lightweight equivalents of several functions of the origin library, see following table:

The keyword Lw is the abbreviation of Lightweight, it has following meanings:

  • No custom Error class.
  • Use status property to indicate wait handle status instead of throwing a OperationCancelledError.
  • Use cancellation function instead of passing a ConditionalSynchronizer instance as a cancellator.
  • Provides synchronous mechanism to acquire certain resource if possible.

All efforts that we made in this library is to enhance the performance of the origin xrtlibrary-async library.

Requirements

This library is built for Node.JS major version 10 and above. You may use this library under version 10 but we can't guarantee that this library behaves correctly.

Installation

To install this library, use npm command to install:

npm install xrtlibrary-asynclite --save

And then you can import this library:

const XRTLibAsyncLite = require("xrtlibrary-asynclite");

Documents

API Reference

Examples

Authors

This library is delivered to you by XRT authors:

1.1.0

2 years ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago