This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-04
Channels
- # announcements (5)
- # babashka (2)
- # beginners (53)
- # biff (11)
- # calva (5)
- # cider (4)
- # clojure (32)
- # clojure-austin (2)
- # clojure-dev (5)
- # clojure-europe (17)
- # clojure-norway (22)
- # clojurescript (23)
- # core-logic (1)
- # cryogen (1)
- # datomic (1)
- # dev-tooling (7)
- # emacs (6)
- # fulcro (63)
- # guix (1)
- # hyperfiddle (14)
- # integrant (2)
- # lsp (6)
- # missionary (4)
- # nbb (42)
- # overtone (9)
- # reitit (8)
- # specter (3)
- # sql (2)
- # squint (7)
- # tools-build (9)
I have a usecase for refreshing just one component from my system. The component is a grpc
client that receives a 1 hour lease (token) and if that expires, it needs to be refreshed. I was thinking that I should be idiomatic and keep that inside integrant
system but I can’t find a way to refresh that dependency at runtime. Anybody has an ideea? Should I just keep an atom with just that lease, outside of integrant?
Yes, that should be outside of Integrant, IMO. Integrant handles initiating and halting components; refreshing a token is outside that scope.
👍 1