i have a question about a specific example in android. Lets say iam running a Room database insertion within a thread/asyncTask.
Thread
{
mDatabase.repoMethods().insert1
mDatabase.repoMethods().insert2
mDatabase.repoMethods().insert3
}
If i stop the thread when the insertion is happening what is the end result? For the sake of the example lets say i stop the thread when insertion1 is happening. Will it complete first and then terminate? or it will execute the other insertions and then?