✏️ Context not Cotext
This commit is contained in:
parent
56fd7bf0b4
commit
1abe398c7a
3 changed files with 7 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
ctx, done := c.SelfCancelingCotext(context.Background())
|
||||
ctx, done := c.SelfCancelingContext(context.Background())
|
||||
defer done()
|
||||
ctx = chill.Chill(ctx)
|
||||
s := spin.Spin(ctx, "Waiting for CPU to cool...")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue