Questions tagged [asynchronous-method-call]

Asynchronous method call is simply allowing a function to be executed on separate thread.

7 questions
6
votes
2 answers

JavaScript - Attach context to async function call?

Synchronous function call context In JavaScript, it's easy to associate some context with a synchronous function call by using a stack in a global scope. // Context management let contextStack = []; let context; const withContext = (ctx, func)…
1
vote
2 answers

Call Python script from local JavaScript App

so I've looked around quite a bit now and wasn't able to find quite the use case I think I am confronted with. For some background: I'm fairly new to JavaScript and have never had to call any other program/script from it. Now I did develop a Python…
1
vote
1 answer

ReadOnly Session coupled with Asynchronous Action and Task Thread. How does the Controller behave then?

In an Asp.Net MVC application if an Asynchronous Controller's Session behavior is Read only, its Action method is also Asynchronous and within it we create a Task Thread that does some long running stuff,…
0
votes
1 answer

How to create asynchronous message in sequence diagram using Enterprise Architect 15.0?

How can I change the type of the message in a sequence diagram from synchronous to asynchronous while modelling it with Sparx Systems Enterprise Architect 15.0? I recall in the past it was just either an obvious option in the context menu or…
0
votes
1 answer

Accessing async method parameters or method's annotations from task

I have the below classes (simplified) to achieve async method calls using Java and Spring toolbox. I need to add some logic which is needed to execute before and after async method call. Callable. I can put the logic i need here if can access…
ouzture
  • 76
  • 1
  • 12
0
votes
1 answer

How does messaging queue work in service broker architecture?

With vague knowledge of service broker I cannot find out where to look understand how messaging queue works in coordinating and setting order that too asynchronously ? The question may be having a wide scope if I am not wrong but a general…
0
votes
3 answers

How to call a method asynchronously in c#

I have a method public void foo(){} which in turn calls another method public void fooBL(){} which is in the BusinessLogic layer. fooBL() then calls another method fooDAL() which is in the DataAccessLayer. I want to call foo() asynchronously on a…
Niar
  • 532
  • 2
  • 11
  • 23