Sanity Library Reference Docs
    Preparing search index...

    Interface ChildObservable

    Interface for child observable

    interface ChildObservable {
        subscribe: (
            child: ItemChild | Promise<ItemChild>,
        ) => Record<string, unknown>;
    }
    Index

    Properties

    Properties

    subscribe: (child: ItemChild | Promise<ItemChild>) => Record<string, unknown>

    Subscribes to the child observable. See ItemChild