Skip to content

polywrap/concurrent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polywrap Concurrent

An interface and implementations for concurrent Polywrap invocations.

Table Of Contents:

  1. Concurrent Interface
  2. Concurrent Implementation (JavaScript Promise)

A quick primer on terminology

concurrent
-> task(s)
-> worker(s)

Defining terms:

  • concurrent plugin = an implementation of the concurrent interface, using a specific concurrency mechanism (threads, promises, etc)
  • task = a wrapper invocation
  • worker = an instance of the underlying concurrency mechanism (thread, promise, etc)

You can:

  • set max number of workers
  • schedule tasks
  • check status of tasks
  • gather results of tasks (first, all, any)
  • abort tasks

About

Concurrent interface and implementations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published