Skip to content

How to react multiple Changes #62

@marcoferre

Description

@marcoferre

Hi,

I need to wait continuosly new Reaction on Changes of a node that i'm inspecting.

With the code in the documentation:

var valueChanged = new TaskCompletionSource<string>();
positionParameter.PropertyChanged += (s, e) => valueChanged.SetResult(((IElement)s).GetPath());

Console.WriteLine("Waiting for the parameter to change...");
Console.WriteLine("A value of the element with the path {0} has been changed.", await valueChanged.Task);

is possible to wait and listen only the first change.

My request to help deal with the possibility to listen all the changes of a node (ie: every time a FaderPosition change, update a view with the value). How can I do That?

Thanks a lot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions