Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多层嵌套的场景下如何使用? #18

Closed
clancytom opened this issue Nov 20, 2017 · 3 comments
Closed

多层嵌套的场景下如何使用? #18

clancytom opened this issue Nov 20, 2017 · 3 comments

Comments

@clancytom
Copy link

fn1(params , ()=>{
       fn2(params , ()=>{
              fn3(params , ()=>{
              })
       })
})
@JacksonTian
Copy link
Owner

await fn1()
await fn2()
await fn3()

@clancytom
Copy link
Author

clancytom commented Nov 21, 2017

如果使用当前bagpipe,代码要如何写
@JacksonTian

@lilifan
Copy link

lilifan commented Jun 29, 2020

@clancytom bagpipe是用于并发控制,你需要的异步协作的库,比如 promise async step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants