Skip to content

Redesign ScreenView to handle observable rendering and disposal #250

Open
@jonsequitur

Description

@jonsequitur

Observables should be supported in such a way that the render operation can be ongoing, with re-render being triggered when a new value is produced by the observable. Disposal of the rendering operation (possibly incorporated into the IConsole's disposal) should allow for a single point of cleanup.

An API might look something like this:

using (view.RenderObservable(statusUpdates, intialState: "0%"))
{

}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions