TwoClocks
10/30/2020, 2:55 AMfold
over the stream of msgs and my state lives in the fold? How can anything external to the fold access it?
2. How do you manage the IO, it's basically almost all IO w/ a small state-machine in the middle
This is a pretty typical pattern for the finical markets.TwoClocks
10/30/2020, 3:05 AMalbertosh
10/30/2020, 8:42 AMpakoito
10/30/2020, 11:36 AMpakoito
10/30/2020, 11:37 AMpakoito
10/30/2020, 11:37 AMI/O
should happen in a suspend function, which are supported inside Stream and IOTwoClocks
10/30/2020, 5:13 PMTwoClocks
10/30/2020, 5:20 PMpakoito
10/31/2020, 1:14 AMpakoito
10/31/2020, 1:15 AMnot sure what you mean by the “latest list”? You need all the msgs from the begining to build your state.you have a base state and then you apply patches over it. That’s what a stream is, right?
pakoito
10/31/2020, 1:17 AMpakoito
10/31/2020, 1:19 AMpakoito
10/31/2020, 1:20 AMpakoito
10/31/2020, 1:20 AMpakoito
10/31/2020, 1:21 AMpakoito
10/31/2020, 1:21 AMpakoito
10/31/2020, 1:23 AMjulian
10/31/2020, 1:42 AMjulian
10/31/2020, 1:46 AMjulian
10/31/2020, 1:50 AM