yenda 9b04dc6530
[dev feature] extend the defn macro
the defn macro knows register the function as an events under the
keywords provided in the :events key of the attributes map. It also
adds the interceptors provided in the :interceptors map

exemple:

```clojure
(fx/defn hello4
  {:doc "this function is useless as well"
   :events [:test/valid1 :test/valid2]}
  [{:keys [db]} b]
  {:db (assoc db :a b) :b (:a db)})
```

Signed-off-by: yenda <eric@status.im>
2019-05-27 13:50:46 +02:00
..
2019-05-24 13:35:04 +03:00
2019-03-21 13:40:45 +01:00
2019-03-18 13:52:13 +02:00
2019-05-01 12:49:31 +02:00
2019-05-24 13:35:04 +03:00
2019-05-14 13:44:08 +02:00
2019-03-25 16:55:09 +01:00
2019-04-25 12:45:20 +02:00
2019-05-27 13:50:46 +02:00
2019-05-15 17:40:41 +03:00