However, looks like encoders that use these sinks doesn't really work 🤔 not sure why - no exception is getting thrown
y
yschimke
09/09/2022, 7:43 AM
Not an answer, but you probably don't need the string template. / works on path as an operator.
x
xxfast
09/10/2022, 1:42 AM
Welp, turns out this was just my bad. I inspected the file directories and it was getting written just fine. The problem was just how I was subscribing to the updates on the start, and it was always emitting just null. This was simply fixed with just
Copy code
val updates: Flow<T?> get() = this.stateFlow
.onStart { read() }