Skip to content

Transcient configuration #139

@incepter

Description

@incepter

Allow removing async states after all subscribers unsubscribe

Actual behavior:

Actually no instance gets removed from the pool once it's created;

Expected behavior:

To be able to declare instances that they will get immediately removed after being released, such when using them inside react components, I should be able to tune whether the state stays after my components unmounts, or to stay there for future usage. Actually, this is done via resetStateOnDispose, but it only resets the actual state, it does not remove the instance.

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