Questions tagged as 'asincronismo'

1
answer

Use Task with database connection in C #

I am developing a task that basically executes a series of stored procedures for each branch that exists in our company, for this I use the task that comes in the .net framework 4.0 but when executed 50 times the procedure throws an exception in...
asked by 07.05.2016 / 01:39
1
answer

Show an image for an order GET Ajax (axios) of vue js 2 and show it by html 5

This is my code I want to make a call get of axios by vue and that after having the image that shows it in html getImage(param) { axios.get(param) .then((resp) => { return this.image = resp.d...
asked by 23.06.2017 / 02:23
1
answer

Transition to dynamically created elements

I am creating a system to upload images with drag and drop, the idea is that each image is added by appearing in a grid, I use promises so that the image only appears when it is already loaded with the onload event, but not I get it to appear wi...
asked by 17.04.2017 / 04:46
1
answer

When should I use async / await and when not?

I am working with the Entity Framework with ASP MVC and I have the following question, should I always use asynchronous methods? or what should I use to choose between one and the other? Asynchronous private static async Task AddStudent()...
asked by 09.10.2018 / 16:09
0
answers

return Request Array XMLHttpRequest

I am developing an extension for the Chrome browser. When a tab is opened or updated, a content.js (a JavaSCript) is injected through chrome.tabs.executeScript through a background.js What the content.js does is: search all the JavaScr...
asked by 04.03.2018 / 01:16
1
answer

Return .done s string in a Jquery Ajax response

I have the following code: function GET_URLAsync(strUrl, aParm) { var response = $.ajax({ type: "POST", url: "../Paginas/" + strUrl, data: JSON.stringify(aParm), contentType: "application/json; charset=utf-...
asked by 19.07.2017 / 22:26
0
answers

Synchronized threads in JAVA

How can I make thread 1 when it reaches 10 or more, go to thread 2 and when it finishes adding its 5 numbers it will return to thread 1 to continue its series in case it has not finished yet? THREADS package pruebahilos; public class Hil...
asked by 21.10.2018 / 21:28
2
answers

JavaScript. Return variable with asynchronism

I'm creating a Chrome extension. I have the following function that I want to return True or False depending on the message answered. OK true, otherwise false. The function that must return true / false is sendMsgToBackgroundChangeStatus ()...
asked by 26.02.2018 / 00:55
1
answer

JavaScript asynchronism

I have a problem with my code. It does not run in order, making a getJSON request takes a bit. $(document).ready(function(){ var channels = ['ESL_SC2', 'OgamingSC2', 'cretetion', 'freecodecamp', 'storbeck', 'habathcx', 'RobotC...
asked by 20.02.2018 / 06:30