Skip to content

Commit

Permalink
[new] Alias keep-callsite, mention in signal! docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Mar 3, 2025
1 parent ac5feb4 commit bfea515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main/resources/signal-docstrings/signal!.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ dispatches it to registered handlers for processing (e.g. writing to
console/file/queue/db, etc.).

Generic signals are fairly low-level and useful mostly for library authors or
advanced users writing their own wrapper macros. Regular users will typically
prefer one of the higher-level signal creators optimized for ease-of-use in
common cases [1].
advanced users writing their own wrapper macros. NB see `keep-callsite` for
preserving callsite coords when wrapping Telemere macros like `signal!`.

Regular users will typically prefer one of the higher-level signal creators
optimized for ease-of-use in common cases [1].

Tips:

Expand Down
1 change: 1 addition & 0 deletions main/src/taoensso/telemere.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
enc/newline
enc/comp-middleware
sigs/default-handler-dispatch-opts
truss/keep-callsite

;; Impl
impl/msg-splice
Expand Down

0 comments on commit bfea515

Please sign in to comment.