Skip to content

Listen for new keys? #13

@frankier

Description

@frankier

I'm interested in how to listen for new keys. It seems straightforward to listen for changes to an existing key if it's an observable, or listen for any change to the varhash or its children (I think - slightly hazy on how this works). But there doesn't seem to be any way to determine which/whether a key has been added or removed other than by diffing the whole hash with its previous value. Is this by design or would the addition of onaddition ondeletion methods which supply (key, value) and (key) to the callback respectively be reasonable?

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