Skip to content

Commit

Permalink
✏️ consulting help section
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Aug 7, 2024
1 parent 4b99c26 commit 75b4db6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ Web Workers are a great fit if you have: 1) heavy algorithm (e.g. image processi

[`scheduler.postTask()`](https://developer.mozilla.org/en-US/docs/Web/API/Scheduler/postTask) is available in some browsers today. `postTask()` and `main-thread-scheduling` do similar things. You can think of `postTask()` as a lower level API — it might be the right choice in specific scenarios. Library owners might be interested in exploring the nuanced differences between the two. For most cases, `main-thread-scheduling` provides a `scheduleTask()` method that mimics that API of `postTask()` while providing the extra benefits of the library.

## Need consulting help?

Need help with your performance or consulting on how to integrate `main-thread-scheduling` in your project? Write to me at [hello@astoilkov.com](hello@astoilkov.com).

<!--
## Resources
Expand Down

0 comments on commit 75b4db6

Please sign in to comment.