diff --git a/www/assets/images/running-to-completion-demo.gif b/www/assets/images/running-to-completion-demo.gif deleted file mode 100644 index b6ccc80eb..000000000 Binary files a/www/assets/images/running-to-completion-demo.gif and /dev/null differ diff --git a/www/docs/structure.json b/www/docs/structure.json index e8052debf..7baf679a0 100644 --- a/www/docs/structure.json +++ b/www/docs/structure.json @@ -3,7 +3,7 @@ ["introduction.mdx", "Introduction"], ["installation.mdx", "Installation"], ["typescript.mdx", "TypeScript"], - ["thinking-effection.mdx", "Thinking in Effection"], + ["thinking-in-effection.mdx", "Thinking in Effection"], ["async-rosetta-stone.mdx", "Async Rosetta Stone"] ], "Learn Effection": [ diff --git a/www/docs/thinking-effection.mdx b/www/docs/thinking-in-effection.mdx similarity index 93% rename from www/docs/thinking-effection.mdx rename to www/docs/thinking-in-effection.mdx index 1fd029f15..6ab6b1c67 100644 --- a/www/docs/thinking-effection.mdx +++ b/www/docs/thinking-in-effection.mdx @@ -22,7 +22,8 @@ child operations when the parent operation completes or is halted. Like with mem scope frees developers to focus on writing their applications instead of worrying about where and when to run asynchronous cleanup. -The key to achieving this freedom is to make the following mental shift about the natural lifetime of an asynchronous operation. +The key to achieving this freedom is to make the following mental shift about the natural lifetime of an asynchronous +operation. **before** @@ -35,10 +36,6 @@ The key to achieving this freedom is to make the following mental shift about th Effection provides this shift. Whenever an operation completes, none of its child operations are left around to pollute your runtime. -> 💡 You might assume that Effection makes all operations asynchronous which is incorrect. Effection is built on -[Deliminated Continuations][delimited-continuation-repo] which allows us to treat synchronous and asynchronous -operations uniformly without forcing synchronous operations to run asynchronously. - ## Every operation exits fully. We expect synchronous functions to run completely from start to finish.