Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
lin7zhi
/
OpenList
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
OpenList
/
pkg
/
utils
/
ctx.go
lin7zhi
Upload folder using huggingface_hub
619f93d
verified
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
156 Bytes
package
utils
import
(
"context"
)
func
IsCanceled
(ctx context.Context)
bool
{
select
{
case
<-ctx.Done():
return
true
default
:
return
false
}
}