@tempots/dom

TaskOptions type

Represents the options for a task.

Signature:

export type TaskOptions = {
    pending?: TNode;
    then: (value: T) => TNode;
    error?: (error: unknown) => TNode;
};

References: TNode