From cab2ccdd1a25f914242f04777858e146cde40de6 Mon Sep 17 00:00:00 2001 From: Prof Gra Date: Sun, 16 Jul 2017 10:52:18 +0200 Subject: [PATCH] Add a summary to docs/Effects.md --- docs/Effects.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Effects.md b/docs/Effects.md index 55926c1..233732c 100644 --- a/docs/Effects.md +++ b/docs/Effects.md @@ -282,8 +282,14 @@ registered handlers) to which you can return. ### Summary -XXX +The 4 Point Summary +In note form: + +1. Event handlers should only return effect declaratively +2. They return a map like `{:effect1 value1 :effect2 value2}` +3. Keys of this map can refer to builtin effects handlers (see below) or custom ones +4. We use `reg-fx` to register our own effects handlers ### Builtin Effect Handlers