@yesstudio/nuxt-composables
    Preparing search index...

    Type Alias UseIgnorableWatchCallback<Source, Immediate>

    UseIgnorableWatchCallback: Source extends WatchSource<infer Value>
        ? WatchCallback<
            Value,
            Immediate extends false ? Value : Value | undefined,
        >
        :
            | WatchCallback<
                MapUseIgnorableWatchSourceValues<Source, false>,
                MapUseIgnorableWatchSourceValues<Source, Immediate>,
            >
            | never

    Represents the callback function type for an ignorable watch effect.

    Type Parameters

    • Source extends WatchSource[] | WatchSource

      The type of the watch source.

    • Immediate extends boolean = false

      Indicates whether the watch effect is immediate.