# Effection: Structured Concurrency framework for JavaScript

**URL:** <https://trio.discourse.group/t/effection-structured-concurrency-framework-for-javascript/444>\
**Category:** Structured concurrency\
**Created:** [June 29, 2022, 12:41pm UTC](https://trio.discourse.group/t/effection-structured-concurrency-framework-for-javascript/444 "2022-06-29T12:41:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shamrin](https://yyz2.discourse-cdn.com/free1/user_avatar/trio.discourse.group/shamrin/32/323_2.png) [@shamrin](https://trio.discourse.group/u/shamrin)\
**Post date:** [June 29, 2022, 12:41pm UTC](https://trio.discourse.group/t/effection-structured-concurrency-framework-for-javascript/444/1 "2022-06-29T12:41:55Z")

</div>

I’ve stumbled upon an interesting attempt to bring Structured Concurrency to JavaScript world. The implementation uses (non-async) generators: `function*` and `yield`.

- [GitHub - thefrontside/effection: Structured concurrency and effects for JavaScript](https://github.com/thefrontside/effection)
- [https://frontside.com/effection](https://frontside.com/effection)

Has anyone tried Effection out? What are your impressions?

---

<div class="post-metadata">

**Author:** ![shamrin](https://yyz2.discourse-cdn.com/free1/user_avatar/trio.discourse.group/shamrin/32/323_2.png) [@shamrin](https://trio.discourse.group/u/shamrin)\
**Post date:** [June 29, 2022, 12:44pm UTC](https://trio.discourse.group/t/effection-structured-concurrency-framework-for-javascript/444/2 "2022-06-29T12:44:39Z")

</div>

(The authors mentioned somewhere that [CAF library](https://github.com/getify/CAF) helped them to come up with the implementation.)

---

<div class="post-metadata">

**Author:** ![Taras\_Mankovski](https://yyz2.discourse-cdn.com/free1/user_avatar/trio.discourse.group/taras_mankovski/32/362_2.png) [@Taras\_Mankovski](https://trio.discourse.group/u/Taras_Mankovski)\
**Post date:** [December 18, 2023, 7:52pm UTC](https://trio.discourse.group/t/effection-structured-concurrency-framework-for-javascript/444/3 "2023-12-18T19:52:58Z")

</div>

@shamrin I think Charles Lowell mentioned it on Reddit that we originally looked at CAF. We just announced [Effection 3.0](https://frontside.com/blog/2023-12-18-announcing-effection-v3/) which was completely re-written on Delimited Continuations. The Delimited Continuations library that is bundled as part of Effection 3.0 can be found here [continuation@0.1.6 | Deno](https://deno.land/x/continuation).
