问题标签 [go-colly]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
51 浏览

go - GoColly 的默认模式是什么,同步还是异步?

GoColly 执行网络请求的默认模式是什么?由于我们Async在收集器中有方法,我假设默认模式是同步的。但是,当我在程序中执行这 8 个请求时,除了我需要Wait用于异步模式之外,我看不出有什么特别的区别。似乎该方法仅控制程序的执行方式(其他代码)并且请求始终是异步的。