Top "Task" questions

A task is an abstraction that is used to work with concurrency, it can denote operation that should be executed concurrently with the rest of a program.

What is the best way to seed a database in Rails?

I have a rake task that populates some initial data in my rails app. For example, countries, states, mobile carriers, …

ruby-on-rails ruby database task seed
How do I enable TODO/FIXME/XXX task tags in Eclipse?

In all my years of using Eclipse, I never knew until now that TODO / FIXME / XXX comment tags are supposed …

eclipse tags task
Run PHP Task Asynchronously

I work on a somewhat large web application, and the backend is mostly in PHP. There are several places in …

php asynchronous background queue task
Android: Cancel Async Task

I use an async task to upload an image and get some results. While uploading the image I see a …

android asynchronous task back
Return list from async/await method

I want to make a webservice request asynchron. I call it here: List<Item> list = GetListAsync(); Here is …

c# list asynchronous async-await task
Task continuation on UI thread

Is there a 'standard' way to specify that a task continuation should run on the thread from which the initial …

c# .net wpf multithreading task
Timer & TimerTask versus Thread + sleep in Java

I found similar questions asked here but there weren't answers to my satisfaction. So rephrasing the question again- I have …

java timer while-loop sleep task
await Task.Delay() vs. Task.Delay().Wait()

In C# I have the following two simple examples: [Test] public void TestWait() { var t = Task.Factory.StartNew(() => { Console.…

c# asynchronous task wait async-await
Filter to show sub tasks of a filtered list of parent tasks

I have a JIRA filter which returns all the fixes in a future release: project = MyProject AND fixVersion = "1.1.1" and issuetype …

filter task jira
Await vs Task.Result in an Async Method

What's the difference between doing the following: async Task<T> method(){ var r = await dynamodb.GetItemAsync(...) return r.…

c# asynchronous async-await task amazon-dynamodb