Skip to content

Computed

export type Computed<T> = StateObject<T> & {
    kind: "Computed",
    timeliness: "lazy"
}

A specialised state object for tracking single values computed from a user-defined computation.

This type isn't generally useful outside of Fusion itself.


Members

kind : "Computed"

A more specific type string which can be used for runtime type checking. This can be used to tell types of state object apart.


Learn More

Back to top