ycmjasonY
Denoβ€’16mo ago
ycmjason

How to unwatch from kv.watch?

When using kv.watch, I notice that it returns a ReadableStream. What's the recommended way to "unwatch" it? Are we meant to call ReadableStream.cancel() ourselves? Or is it safe to just stop reading from the stream and abandon it? Or what's the recommended way to do this?
Was this page helpful?