fabiendevos / nanotasks

Extremely light way to execute code in the background on Android. Alternative to AsyncTask.
Other
387 stars 36 forks source link

Allow developer to choose task executor #6

Closed DagW closed 9 years ago

DagW commented 9 years ago

I like your library, though I miss the ability to choose exector for the asynctask. For example:

new AsyncTask().executeOnExecutor(AsyncTask. .... )

For choosing wheter to execute in serial or paralell.

Dag

fabiendevos commented 9 years ago

It's already possible :)

Tasks.executeInBackground(context, backgroundWork, completion, executor);
DagW commented 9 years ago

Perfect! Missed it :)