summaryrefslogtreecommitdiffhomepage
path: root/rwcancel/rwcancel_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'rwcancel/rwcancel_stub.go')
-rw-r--r--rwcancel/rwcancel_stub.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/rwcancel/rwcancel_stub.go b/rwcancel/rwcancel_stub.go
new file mode 100644
index 0000000..fae47b4
--- /dev/null
+++ b/rwcancel/rwcancel_stub.go
@@ -0,0 +1,10 @@
+//go:build windows || js
+
+// SPDX-License-Identifier: MIT
+
+package rwcancel
+
+type RWCancel struct {
+}
+
+func (*RWCancel) Cancel() {}