Fork me on GitHub
#re-frame
<
2020-05-18
>
motform14:05:04

I have a little problem, I have an event that does an ajax request and gets stuff from the backend. I would like to start another event after that request has finished, this event should get data from a subscription. Is there a good way to do this, or should I try to re-think the problem? (In the case at hand Iā€™m requesting some text generation from a neural net, appending it to a vec of all the generated texts. I want to query the back-end with the complete set of texts after the new ones have arrived)

p-himik14:05:25

> event should get data from a subscription There's an entry about this in re-frame documentation. Perhaps even within the FAQ.

escherize22:05:14

re-frame is OO, true or false?

mikethompson22:05:23

Definitely OO :-)

escherize22:05:57

Makes sense to have the state container be a little OO

mikethompson23:05:34

This implies that databases are OO?

lilactown00:05:39

your sarcasm might not have come through to escherize (or I mistook your previous reply for sarcasm!)

mikethompson00:05:05

All good. I know Byran well

lilactown00:05:24

šŸ˜„ šŸ‘

mikethompson00:05:25

You'll note the :-)