Skip to content

Action to unsubscribe specific callback #1

@tzkmx

Description

@tzkmx

Hi! This is a nice middleware, almost exactly what I was looking for to trigger some side effects.

However, with the current implementation, it seems that an unsubscribe action would disconnect all the listeners. Would be nice a way to disconnect only specific callbacks, maybe passing the callback again to be spliced, or receiving a unsubscribe function tagged to it.

What do you think?

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