Skip to content

Commit

Permalink
Add Subscriber#active boolean (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino authored Nov 13, 2023
1 parent 439e54f commit 043887d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 043887d

Please sign in to comment.