Interface ValConfig<TValue>

Custom config for the val.

interface ValConfig<TValue = any> {
    eager?: boolean;
    equal?: false | ValEqual<TValue>;
    name?: string;
}

Type Parameters

  • TValue = any

Properties

eager?: boolean

Set the default behavior of subscription and reaction. Emission triggers synchronously if true. Default false.

equal?: false | ValEqual<TValue>

Compare two values. Default Object.is. false to disable equality check.

name?: string

Name for debugging.