wkn is easy possible to run the processing to another thread.
Concept
- Simple API
- No Config
- Light
Installing
$ npm install wkn
Example
; /*** Takes function and arguments, moves the processing to another thread,* and receives the processing result on Promise.* @param* @param* @returns */ // Simple usage ; // Two arguments ; // Use moment.js ; // Heavy processing ; // onRejected ;