DenoDDeno
Powered by
ycmjasonY
Denoβ€’2y 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?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

KV watch prefix?
Michael FrancisMMichael Francis / help
2y ago
kv.watch() not working
MelerEcckmanLawlerMMelerEcckmanLawler / help
11mo ago
KV watch initial value
wilsonlewisWwilsonlewis / help
3y ago
deno kv watch vs broadcast channel
fro.profesionalFfro.profesional / help
3y ago