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

Categories

0 votes
4.2k views
in Technique[技术] by (71.8m points)

axios一段源码看不明白?

github地址

这里给cancel赋了一个c c是哪儿来的?
executor中又需要外界给传一个message

我觉得这两处都需要外面调用时候传参进来
到底这里数据流是怎么样的?
我有点混乱了。。。。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

看懂了 原来c是一个函数


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
...