Schedule Task on Non Main Thread
Here we are scheduling TaskToRun task to run in background one time.
We are passing null as options because, by default ExecuteOnCallingThread is false, so it spawns a new thread automatically internally and invoke the task from there.
Last updated