How to use the rx-queue.RxQueue function in rx-queue

To help you get started, we’ve selected a few rx-queue examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github huan / rx-queue / tests / fixtures / smoke-testing.ts View on Github external
import {
  DelayQueue,
  RxQueue,
  ThrottleQueue,
  VERSION,
}                 from 'rx-queue'

if (VERSION === '0.0.0') {
  throw new Error('version should be set before publishing')
}

const rq = new RxQueue()
console.info(`RxQueue v${rq.version()}`)

const dq = new DelayQueue()
console.info(`DelayQueue v${dq.version()}`)

const tq = new ThrottleQueue()
console.info(`ThrottleQueue v${tq.version()}`)

console.info('Smoke Testing PASSED!')

rx-queue

Easy to Use ReactiveX Queue that Supports Delay/DelayExecutor/Throttle/Debounce/Concurrency Features Powered by RxJS/IxJS

Apache-2.0
Latest version published 2 years ago

Package Health Score

48 / 100
Full package analysis