- commit
- a62fff6
- parent
- 7b1c7d5
- author
- Eric Bower
- date
- 2023-12-16 17:56:33 +0000 UTC
docs: readme
1 files changed,
+6,
-0
+6,
-0
1@@ -38,6 +38,12 @@ Thunks are the foundational central processing units. They have access to all
2 the actions being dispatched from the view as well as your global state. They
3 also wield the full power of structured concurrency.
4
5+As I've been developing these specialized thunks, I'm starting to think of them
6+more like micro-controllers. Only thunks and endpoints have the ability to
7+update state. However, thunks are not tied to any particular view and in that
8+way are more composable. Thunks can call other thunks and you have the async
9+flow control tools from effection to faciliate coordination.
10+
11 Every thunk that is created requires a unique id -- user provided string. This
12 provides us with a handful of benefits:
13