(core.async/timeout time)) 来代替就行了. 如果这个sleep 本身就在 go 块里,就用 <! 取代 <!! ,换取更好的性能(park 和block 的区别) ...
確定! 回上一頁