first commit
This commit is contained in:
10
core/schemas/context_wasm.go
Normal file
10
core/schemas/context_wasm.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//go:build tinygo || wasm
|
||||
|
||||
package schemas
|
||||
|
||||
// isNonCancellingContext returns true if the context is known to have
|
||||
// a Done() channel that never closes. In wasm builds, fasthttp is not
|
||||
// available, so this always returns false.
|
||||
func isNonCancellingContext(parent any) bool {
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user