Skip to content

make subscribe with context less error prone #12

@mwaschkowski

Description

@mwaschkowski

Hi,

A number of times now I've done stuff like this:

radio(constant.SHOW_CLIENT_APPLICATION).subscribe(this.xyz, this);

instead of this:

radio(constant.SHOW_CLIENT_APPLICATION).subscribe([this.xyz, this]);

Would you please create a new method/alias to prevent this kind of thing? Maybe something like:

radio(constant.SHOW_CLIENT_APPLICATION).subscribe(this.xyz).context(this);

I know its minor, but its a big problem when you first run into this as there are no error/indications to help out.

Thank you,

Mark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions