0.1.0 • Published 8 years ago

performJs v0.1.0

Weekly downloads
17
License
MIT
Repository
github
Last release
8 years ago

Perform Build Status

Reactive Web Worker mini library

Reason

Web worker is not a new technology in the web world. But so far there is a minimal usage for a such great technology. The goal of this library is to provide a simple API to the web developers community in order to lead them to use that power.

Installation

To install the stable version:

npm install --save performJs

Jump In

your js code

import {spawn} from 'performJs';

const task = spawn('echo.js');

task.subscribe(
	echo => console.log(echo);
	error => console.log(error);
);

task.dispatch('Hello World!');
// => 'Hello World!'

echo.js task (worker) file content

self.onmessage = function(data) {
	self.postMessage(JSON.parse(data.data));
};
0.1.0

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago