Sanity Library Reference Docs
    Preparing search index...

    Type Alias StateTopicDef<T>

    Declares a topic that stores and replays its current value.

    type StateTopicDef<T> = {
        kind: "state";
        value: T;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    kind: "state"
    value: T