Questions tagged as 'async'

0
answers

View large video with ASP.net

I found an ASP code using Web Api to display videos, but it does not work for large videos (like a 100MB I have). I already tried changing the buffer number and it did not work. Controller: public class PlayController :ApiController {...
asked by 29.01.2018 / 19:41
1
answer

How to use unload with angular JS?

Unload should be called when leaving the page and hitting any url from another site. In an old version, without JS Angle, doing this, it works normal, it calls the request, when I call the debug the API is entering ... window.onbefo...
asked by 02.02.2018 / 14:05
1
answer

Queuing Problems for Asynchronous Controllers

Hello, I'm having some problems regarding Asynchronous Controllers because the server's request queuing continues to be blocked for the client during some operation. The routines work exactly, I can execute even parallel functions (for exam...
asked by 18.05.2017 / 03:06
0
answers

Problem with execution flow using async.series

I have the following application: var async = require('async'); function foo() { async.series({ functionName1: function (callback) { promiseResolve() .then(result => { callback(nu...
asked by 19.06.2017 / 18:56
1
answer

Make function wait for variable to be generated

I have the following code: XmlParaApi = xml; which passes a string variable (xml) to a global string variable (XmlParaApi). Until then all this code is in an Api, since my problem is with the code below: string XmlApi = XmlApi.XmlParaApi...
asked by 20.03.2017 / 17:54
0
answers

Start Async function

Good morning, I do not have much knowledge about async, and maybe someone could help me regarding this: public async Task<ActionResult> IndexAsync(CancellationToken cancellationToken) { var result = await new AuthorizationCod...
asked by 03.04.2017 / 15:31
0
answers

Error in use of Asynchronous Action (Async)

This action should send an email Asynchronously, everything very simple until then, even use the same class in other projects with the same version of MVC. But to my surprise, this project does not work. You simply see the error below. Error:...
asked by 19.01.2017 / 02:58
0
answers

Access to Asynchronous Webservice

I'm working on a project, where I run an asynchronous webservice (project pattern), but I'm having a problem because webservice has not yet finished execution and my processing continues (causing errors). Is there any way I can do to just con...
asked by 02.09.2016 / 00:32
0
answers

AsyncTask and Fragments

Hello, I'm a newbie in development and I have some questions. I have to implement a new layout, where: Converted activities that load data into fragments; In a new activity the graphic fragment is at the top and what loads the list is b...
asked by 31.03.2016 / 16:30
0
answers

@Retryable and @Async with spring

Is it possible to create an asynchronous method that can be retried if there is any exception with spring? @Retryable @Async public void myMethod() throws Exception { // Do some stuff }     
asked by 25.03.2016 / 00:01