0.0.345 • Published 3 years ago

siljs v0.0.345

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

sil.js

What is the origin of name?

It means thread and also light as "Sil". Sil (Korean: 실) means "thread" in English.1

How to load?

on webpack-base Project:

  /* ... */
  import _SIL from "siljs" /* ES6 */
  import _SIL from "https://timtermtube.github.io/sil.js/index.js" /* module tag in html */
  const _SIL = require("siljs"); /* CommonJS */ 
  
  const SIL = _SIL.default;
  
  const myThread = SIL.newThread((a) => {return a+a*2}, "WorkingAnt", [15], (x) => { /* When returned, It'll be worked */ console.log(x.data)});
  /* ... */ 

Guides

https://github.com/timtermtube/sil.js/wiki

Supports

  • Function as new Thread
  • Get return datas from new thread

TODO (0.0.4)

  • Support Async
  • Support webpack Module System
0.0.345

3 years ago

0.0.33

3 years ago

0.0.34

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.3

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago