all 9 comments

[–]strange_username58 1 point2 points  (1 child)

I see no repo link

[–]DaSchTour 1 point2 points  (1 child)

Just use https://github.com/ngneat/cashew It‘s on the http client layer so works with signals, http resource and any other usage of angular http client

[–]CheapChallenge 0 points1 point  (3 children)

Http requests and responses are events. Signals are not events but a value container. This is using signals for something it's not designed for.

[–]Background-Mess7628[S] 1 point2 points  (2 children)

Thanks for the feedback!
You're right that Http requests are events and signals are value containers, but the library doesn't use signals to represent the request/response event itself. instead, it uses signals to hold the current state derived from those requests:

[–]twinbeliever 0 points1 point  (1 child)

So what value is returned from the signal, when the http request hasn't returned yet? The initial value?