feat: cancel copy for upload
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
package utils
|
||||
|
||||
import "context"
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
func IsCanceled(ctx context.Context) bool {
|
||||
select {
|
||||
|
Reference in New Issue
Block a user