You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To subscribe for events the documentation in README.md differs from implementation
README.md suggests: // Register callback MusicControls.subscribe(events);
The latter does work, so it should be fixed in README.md. However I would rather like the implementation to switch from .subscribe().subscribe(...) to .subscribe(...).
The text was updated successfully, but these errors were encountered:
To subscribe for events the documentation in README.md differs from implementation
README.md suggests:
// Register callback MusicControls.subscribe(events);
index.d.ts documents
@usage
as:this.musicControls.subscribe().subscribe(action => {...});
The latter does work, so it should be fixed in README.md. However I would rather like the implementation to switch from
.subscribe().subscribe(...)
to.subscribe(...)
.The text was updated successfully, but these errors were encountered: