I had a problem about how to design updater for my program. Which the best order to update data from the server? (absolutely multithreading)
Thread {
Timer {
result = downloaddata(url)
}
}
or
Timer {
Thread {
result = downloaddata(url)
}
}