context.WithCancel() 函式會回傳Context 物件和 CancelFunction 。這個Context 的 Done channel 會在cancel function 被呼叫到時關閉,或是父層的 Done ...
確定! 回上一頁