---
title: "Discussion on \"Finally!  Cancel Web Workers' Work Without Terminating the Worker\" | Hashnode"
description: "Discussion on \"Finally!  Cancel Web Workers' Work Without Terminating the Worker\". Learn how to simplify web worker consumption and how to cancel web workers without terminating the worker."
url: "https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Finally! Cancel Web Workers' Work Without Terminating the Worker](https://webjose.hashnode.dev/finally-cancel-web-workers-work-without-terminating-the-worker?utm_source=hashnode&utm_medium=feed)

Learn how to simplify web worker consumption and how to cancel web workers without terminating the worker.

Aug 26, 2024 · 9 min read · webjose.hashnode.dev  
Updated Aug 28, 2024  
Read the article

-   [#webworker](https://hashnode.com/tag/webworker)
-   [#svelte](https://hashnode.com/tag/svelte)
-   [#developer](https://hashnode.com/tag/developer)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)

## Written by

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

@webJose

  
[View profile](https://hashnode.com/@webJose)

Senior Software Developer @ Intel

## Responses 3

Markdown supported · ⌘↵ to post

[Elxe Coraline](https://hashnode.com/@ElxeCoraline)

[Sep 4, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66d8538f8acc348be2a441f2)

Thats great.

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Sep 4, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66d8538f8acc348be2a441f2#reply-66d87b12ac8a66ae6774e47f)

Glad you like it! If you test it out and find issues, do let me know via GitHub.

[Subhradip Sinha](https://hashnode.com/@DipSubhro)

[Aug 28, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66cf37153990ffca1f353fc3)

ig I'm too beginner to understand this topic although its well written

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Aug 28, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66cf37153990ffca1f353fc3#reply-66cf3efdd5d168c8353ebc52)

Hello! I'm glad you liked it. Whenever you enter the web workers world, remember that you have @wjfe/async-workers to help you out.

[Subhradip Sinha](https://hashnode.com/@DipSubhro)

[Aug 28, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66cf37153990ffca1f353fc3#reply-66cf496b24c5df9737d317d4)

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)okk

[maxelfs Damina](https://hashnode.com/@maxelfs)

[Aug 28, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66ce9a64c4f6443403437cdd)

web workers are the best. it's my opinion.

[José Pablo Ramírez Vargas](https://hashnode.com/@webJose)

[Aug 28, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66ce9a64c4f6443403437cdd#reply-66ce9efe684dc8d62e4a36ec)

Hello! Thanks for dropping by. Indeed, web workers are a good thing to have. Multi-threading is indeed great. Let me know if you have questions and I'll try to answer.

[Eng Habib](https://hashnode.com/@enghabib)

[Sep 8, 2024](https://hashnode.com/posts/finally-cancel-web-workers-work-without-terminating-the-worker/66cc049f6d19c42031f7860b/comment/66ce9a64c4f6443403437cdd#reply-66ddf26fc802de70d3f47cbb)

yes its like fun for all web developer all are enjoying there work
