I think it waits until the update is actually committed to the db, which doesn't happen synchronously unless you're doing a blocking call.
g
gildor
10/19/2022, 5:18 AM
Room has own dispatcher under the hood it runs operation asynchronously, so it’s expected. You want to use something like turbine to test flow to avoid relying on single threaded code, which is hard and annoying to support