thread-emancipator

0.1.1 • Public • Published

Thread emancipator Build Status

Thread business detector

Install

$ npm install --save thread-emancipator

Usage

$ thread-emancipator path-to-script.js

or

const threadEmancipator = require('thread-emancipator');

const isThreadBusy = await threadEmancipator('path-to-script.js', 'application-url');
// default application-url is https://www.google.com, if your script is application specific then yous your own url

Motivation

@samccone's talk at Chrome Dev Summit one of the ideas was using WebWorkers

image

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2
  • 0.1.0
    0

Package Sidebar

Install

npm i thread-emancipator

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • denar90