summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-05 16:23:28 +1000
committerGitHub <noreply@github.com>2024-09-05 16:23:28 +1000
commit105c2e336a4312ed1714ab893c57eae2a19068c7 (patch)
treee472cdf21fe7cc7ee4f9a0b02503ac1228af3bef /runtime/js
parent713ed065e7cd1013e525a8e571cef08a30de87be (diff)
BREAKING(fs): remove `Deno.FsWatcher.prototype.rid` (#25444)
Towards #22079
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/40_fs_events.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js
index d7aa5de05..a0495540c 100644
--- a/runtime/js/40_fs_events.js
+++ b/runtime/js/40_fs_events.js
@@ -31,15 +31,6 @@ class FsWatcher {
this.#rid = op_fs_events_open({ recursive, paths });
}
- get rid() {
- internals.warnOnDeprecatedApi(
- "Deno.FsWatcher.rid",
- new Error().stack,
- "Use `Deno.FsWatcher` instance methods instead.",
- );
- return this.#rid;
- }
-
unref() {
core.unrefOpPromise(this.#promise);
}