Async void functions | Sololearn: Learn to code for FREE!

0

Async void functions

I'm working on making a pos system and I'm using a lot of .db files. I have my program setup so when the user adds or deletes information from the table, the void function(ex public void refreshingitems{}) will call and repopulate the screen. When these files get very big over long time use, I would like to call this function asynchronously but I'm not having luck. Any help would be great!

6/28/2017 11:14:40 AM

Martin Nowak

1 Answer

New Answer

0

I do not recommend the use of async void functions, you can read up on the web why. Instead what you should try is an async Task