@tempots/ui

ResultViewOptions type

Represents the signal for a result.

Signature:

export type ResultViewOptions<T, E> = {
    success: (value: Signal<T>) => TNode;
    failure?: (error: Signal<E>) => TNode;
};