220 questions for “Async”

Found in 1 field. Select a question to see its full answer.

Information Technology

220 questions in 17 technologies

#QuestionTechnologyTopicLevel
1How do you loop over an async iterable? JavaScript › Async Iterators & StreamsJavaScriptAsync Iterators & StreamsBeginner
2What is an async generator, and how does it differ from a regular generator? Python › Async Generators & Async Context ManagersPythonAsync Generators & Async Context ManagersBeginner
3How do you consume an async generator using 'async for'? Python › Async Generators & Async Context ManagersPythonAsync Generators & Async Context ManagersBeginner
4What is an async context manager, and which two dunder methods does it require? Python › Async Generators & Async Context ManagersPythonAsync Generators & Async Context ManagersBeginner
5What is the basic pattern for running an async function using asyncio.run()? Python › Concurrency (asyncio/threading/multiprocessing)PythonConcurrency (asyncio/threading/multiprocessing)Beginner
6What is the purpose of the 'node:timers/promises' module, and how does it simplify working with delays in async code? Node.js › Async PatternsNode.jsAsync PatternsBeginner
7How do you run multiple coroutines concurrently using asyncio.gather()? Python › Concurrency (asyncio/threading/multiprocessing)PythonConcurrency (asyncio/threading/multiprocessing)Intermediate
8What are async streams in C#, and how does IAsyncEnumerable<T> differ from a regular IEnumerable<T> for handling large or slow data sources? C# › Asynchronous ProgrammingC#Asynchronous ProgrammingIntermediate
9What is the difference between running async operations sequentially with multiple awaits versus concurrently with Promise.all()? Node.js › Async PatternsNode.jsAsync PatternsIntermediate
10Why might Promise.all() be the wrong tool when consuming many async iterators? JavaScript › Async Iterators & StreamsJavaScriptAsync Iterators & StreamsAdvanced