Support for WICG Observable #51828
Labels
feature request
Issues that request new features to be added to Node.js.
never-stale
Mark issue so that it is never considered stale
web-standards
Issues and PRs related to Web APIs
What is the problem this feature will solve?
This new proposal adds
.on
method toEventTarget
, then we can control event handling using Observable API.Example from the spec:
Spec: https://github.com/WICG/Observable
Standard Tracking: WICG/observable#93
This is something that makes sense to implement on Node?
What is the feature you are proposing to solve the problem?
Basically implements the new
.on
method at:node/lib/internal/event_target.js
Line 551 in a0ac8bd
What alternatives have you considered?
The @benlesh (contributor of the spec) looks like he already tried to implement this new spec at #51065
The text was updated successfully, but these errors were encountered: