Leo

Results 4 comments of Leo

> 作为一个大学生,真的想不到哪个业务会用到yield+回调函数(哪位大佬可以给我科普一下。。。)。yield后面跟一个回调函数好像没有什么意义,因为回调函数无非是xhr or 模拟的异步代码 or 同步代码。同步代码我倒是用到过(判断相似树)。但是前2种情况真的想不到。。。 umijs……请查看 model 中 effects 对象中的写法

what's matter with the authors?Why don't resolve this issue?

oh my god。this issue has been here for two years ~~

@maychine-fatima @aditodkar I fixed this problem with the following code: ```js oauth.post( `https://api.twitter.com/2/users/${twitterUserId}/following`, accessToken, accessTokenSecret, JSON.stringify({ target_user_id: '1613090899432722432' }), 'application/json', (err, result) => { }, ) ```