Andromadus Naruto
01/10/2023, 9:58 PMCasey Brooks
01/11/2023, 3:01 PMCasey Brooks
01/11/2023, 3:01 PMInputHandler.handleInput()
method is suspending, you can make the Repository call directly within the Handler function, waiting for its result and setting it back to the VM state. If it’s more of a “fire-and-forget” API call, you can wrap the call to the Repository in a sideJob
block to run it in parallel to the Inputs queue, rather than suspending the queue.Andromadus Naruto
01/11/2023, 3:55 PMCasey Brooks
01/11/2023, 5:24 PM