Interface CellOptions<T>

    interface CellOptions<T = unknown> {
        equals?: (a: T, b: T) => boolean;
        name?: string;
        unwatched?: () => void;
        watched?: () => void;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    equals?: (a: T, b: T) => boolean

    Per-instance value equality; defaults to Object.is.

    name?: string

    Debug label; surfaces in cyclic-read errors and graph dumps (see debug.ts).

    unwatched?: () => void

    Last subscriber detached; fired from _unwatched.

    watched?: () => void

    First subscriber attached; fired from link.