Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StudentOfJS authored Jul 16, 2022
1 parent 9d37d3d commit 8bb0fc3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ or

### import

import { doHardwork } from "worker-mate"
import { doHardwork, fetchTool, createWorkerPromise } from "worker-mate"


## doHardwork
Expand All @@ -42,7 +42,10 @@ doHardwork requires two arguments. The first should be a pure function, that tak
- fn - required
- rawData- required


## fetchTool
examples in the pipleine
## createWorkerPromise
examples are being considered
## Why Worker Mate?

Worker mate is just Typescript with no dependencies. It makes offloading expensive computations to web workers simple . This allows you to keep the main thread clear and your site responsive. It's a super simple, easy to use function that returns a promise. Each instantiation creates a new web worker thread, which terminates itself once the request is complete.
Expand Down

0 comments on commit 8bb0fc3

Please sign in to comment.