From 60b66b3c17f25aec53aadae45754ac90efdd5677 Mon Sep 17 00:00:00 2001 From: Dominic Farolino Date: Fri, 10 Nov 2023 15:17:45 -0500 Subject: [PATCH] Add `Subscriber#active` boolean --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 77e7cb3..75b1a61 100644 --- a/README.md +++ b/README.md @@ -314,6 +314,11 @@ interface Subscriber { undefined error(any error); undefined addTeardown(VoidFunction teardown); + // True after the Subscriber is created, up until either + // `complete()`/`error()` are invoked, or the subscriber unsubscribes. Inside + // `complete()`/`error()`, this attribute is true. + readonly attribute boolean active; + readonly attribute AbortSignal signal; };