Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged async

0 votes
769 views
1 answer
    Here's my problem: I need to call multiple 3rd party methods inside an ApiController. The signature for those ... d prefer to use the asyny/await syntax. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have a public async void Foo() method that I want to call from synchronous method. So far all I ... into calling these async methods from sync methods. Question&Answers:os...
asked Oct 16, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    Closed. This question needs to be more focused. It is not currently accepting answers. question from:https:// ... -alive-timers-for-many-objects-in-a-proper-and-efficien...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    I have a situation in azure functions, where i am calling a api which returns 500items. Once i ... .com/questions/65923976/making-asynchronous-calls-synchronous-in-typescript...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
934 views
1 answer
    How do you close a asyncio loop in Python 3.7+ ? (I'm new to asynchronous programming especially py 3.7+) ... questions/65926242/how-to-close-a-asynciohttp-connection-in-python-3-7...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm using LibreHardwareMonitor (A fork of OpenHardwareMonitor) to read info about my computer to build an open-source ... -when-calling-a-method-from-a-pythonnet-c-sharp-dll...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
788 views
1 answer
    I want to be able to access the context within which an asyncio loop runs while using discords python lib. ... /questions/65650989/accessing-context-of-asyncio-loop-within-a-task...
asked Oct 7, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am creating an App in React Native Expo and trying to display data using asyncstorage. The only data which ... -when-pushing-data-from-asyncstorage-to-array-object-in-react...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
791 views
1 answer
    I am creating an App in React Native Expo and trying to display data using asyncstorage. The only data which ... -when-pushing-data-from-asyncstorage-to-array-object-in-react...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
621 views
1 answer
    I am creating an App in React Native Expo and trying to display data using asyncstorage. The only data which ... -when-pushing-data-from-asyncstorage-to-array-object-in-react...
asked Oct 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
705 views
1 answer
    编译 ES6 的工具是一样的,在 weex 项目中则报错 尝试过各种解决方案都失败了 最简单的试验代码 async function f() { return 'hello world'; } ... .844 (index.js:1072) at __webpack_require__ (index.js:22) at eval (index.js:1)...
asked Feb 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
994 views
1 answer
    async function a() { var result = await b() res.json(result) } var fse = require('fs-extra') function b() { var fpath = '/data.json ... 到读取文件后的数据 我应该怎么修改,让result 得到 data.json 的内容呢?...
asked Feb 6, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    await 在得到结果前会阻塞后面的代码,我设想的是过 3 秒后打印 5,再过 3 秒打印 6,实际情况却是 3 秒后 5 和 6 一起打印,这是为什么呢? const a = new ... = await a; console.log(num); let num1 = await b; console.log(num1); } func();...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
826 views
1 answer
    项目中不让使用promise,都是统一async,我需要promise.all发送多个请求。请求怎么写?...
asked Jan 29, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
913 views
1 answer
    async 函数的实现,就是将 Generator 函数和自动执行器,包装在一个函数里 async function fn(args){ // ... } // 等同于 function fn(args){ ... ); } run() .catch(function handleError(err) { err.message; // Oops! })...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
824 views
1 answer
    async 函数的实现,就是将 Generator 函数和自动执行器,包装在一个函数里 async function fn(args){ // ... } // 等同于 function fn(args){ ... ); } run() .catch(function handleError(err) { err.message; // Oops! })...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
948 views
1 answer
    await有一个最让我不能理解的点就是怎么能做到阻塞异步的同时也将其下的同步语句阻塞 都知道yield+promise能做到异步阻塞,但我写不出将后面的同步语句也阻塞的方法 我的写法实现如下: function ... /打印结果为: // 123 // 321 所以我想请问一下各位大佬,如果用yield+promise写出async的效果?...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...