iamthevoid
01/09/2022, 9:32 AMiamthevoid
01/09/2022, 9:32 AM25. state.value = "next"
26. state.value = Date()
iamthevoid
01/09/2022, 9:34 AMeach: Sun Jan 09 12:16:15 MSK 2022
each: Sun Jan 09 12:16:15 MSK 2022
Thu Jan 01 03:00:00 MSK 1970: start
Sun Jan 09 12:16:15 MSK 2022: start
I got default values (start and date0) and then last emitted dateiamthevoid
01/09/2022, 9:35 AMeach: next
each: next
Thu Jan 01 03:00:00 MSK 1970: start
Thu Jan 01 03:00:00 MSK 1970: next
opposite situation, date not emitted, but string doesiamthevoid
01/09/2022, 9:36 AMiamthevoid
01/09/2022, 9:37 AMonEach
call shows that first value just not emittediamthevoid
01/09/2022, 9:38 AMstate.value =
, state.updateAndGet
, state.emit
, state.tryEmit
but result alwas the sameJoffrey
01/09/2022, 9:44 AMJoffrey
01/09/2022, 9:45 AMiamthevoid
01/09/2022, 9:49 AMiamthevoid
01/09/2022, 9:50 AMJoffrey
01/09/2022, 10:03 AMSharedFlow
instead. They are for representing more general hot flows like this. State flow is a special case of it, optimized for conflated state.iamthevoid
01/09/2022, 11:16 AM