From d14c4393f9e90bfe5d40356334bd317c0c7df032 Mon Sep 17 00:00:00 2001 From: rcmerci Date: Tue, 14 Jan 2025 15:01:31 +0800 Subject: [PATCH] chore: update comment --- src/main/frontend/handler/profiler.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/frontend/handler/profiler.cljs b/src/main/frontend/handler/profiler.cljs index 773db0dc1c..b5ff45f9ab 100644 --- a/src/main/frontend/handler/profiler.cljs +++ b/src/main/frontend/handler/profiler.cljs @@ -79,4 +79,8 @@ ;; test multi-arity, variadic fn (defn test-fn-to-profile ([a b] 1) - ([b c d] 2))) + ([b c d] 2)) + + (register-fn! 'frontend.handler.profiler/test-fn-to-profile + :custom-key-fn (fn [args result] {:a args :r result})) + )