From 72e7ad52ee8e6ac320ba849550446d50a0ba970d Mon Sep 17 00:00:00 2001 From: Dominic Farolino Date: Fri, 10 Nov 2023 15:08:54 -0500 Subject: [PATCH] Add `Subscriber#active` boolean (#80) --- 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; };