Skip to content

Commit

Permalink
Add Subscriber#active boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Nov 10, 2023
1 parent 9a2cb06 commit 9593857
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 9593857

Please sign in to comment.