Questions tagged as 'async'

1
answer

Thread Problems on Android

I have listview to be populated / powered by a webservice , but only load my images with a Handler. I want to use a Thread, but it only runs with a Handler and I do not understand why ... Can someone help me? Here is the cod...
asked by 08.03.2014 / 02:08
1
answer

Operation Async how to know when completed?

I have 2 methods Async to make a Insert in a database in the cloud .. For reasons of the internet, the transaction may fail to handle this problem, I am using Commit and RollBack , even ai blz. However, I need to...
asked by 20.07.2017 / 21:22
1
answer

How to perform asynchronous tasks in PHP? [duplicate]

I have a simple virtual store system, where the customer makes an order for certain products and the system records this, the moment the customer registers the order the system sends an email message and also communicates with an API passing t...
asked by 20.02.2017 / 20:04
1
answer

ActionResult and async Method Using FastMapper, Error in TypeAdpter

I have the following problem with FastMapper. When implementing an ActionResult async when using the TypeAdapt it can not perform the asynchronous conversion, would anyone know how to do the conversion with FastMapper? Remember, when I do the co...
asked by 30.06.2016 / 16:59
0
answers

Async Programming

Well I have some doubts about asynchronous programming. I'd like to know more about how AsParallel() works in a List<Task> list. That is, if the tasks of this list is executed in parallel. Code sample: var listaTaref...
asked by 31.10.2018 / 14:02
0
answers

How to use AsyncTask with AnyChart

I'm trying to make a dashboard by using the AnyChart api to create the graphics, however this error is appearing    Skipped 59 frames! The application may be doing a lot of work on its main thread. I saw in the GOOGLE documentation...
asked by 01.11.2018 / 21:39
0
answers

How to return the searched content to another class via Retrofit

I have a problem that is as follows, I have a service class (DataService) that brings the api data using Retrofit2. So far so good, but when the data is returned I can access the body of the response through response.body () in the anonymous met...
asked by 28.05.2018 / 21:27
1
answer

Angular ng-repeat asynchronous

I'm using Angular 1.6.10 to show the data of an API, as the search of the data is asynchronous, I believe ng-repeat is executed before the data is loaded: angular .module('appDataPOA', []) .controller('controllerDataPOA', async funct...
asked by 19.05.2018 / 19:01
0
answers

Looback error after sending data to the database using beforeRemote

I'm having a problem while registering the data in the database. My logic starts from the beginning where I query through a route axes for the same api, since this route corresponds to the REST verb GET, so it would return the correct informatio...
asked by 08.05.2018 / 17:36
1
answer

Assign the return of a function that returns from a promisse

I am exporting a function to another file that is as a webpack-simple + vuejs component, This is the function of api-user.js file: export function getUsers () { axios.post('/api/get_list',{}) .then(req => {return req.data.list;})...
asked by 18.03.2018 / 17:14