jdn
09/13/2018, 6:01 PMGlobalScope.launch { dao.insert(note) }
for simple background work where I don't expect a result.
Also, would thread { dao.insert(note) }
be an appropriate alternative?elizarov
09/13/2018, 8:29 PMthread
would eat your memory very fast, coroutines are much cheaper, but you might still consider limiting concurrencyjdn
09/13/2018, 8:42 PM