Documentation
    Preparing search index...

    Function discreteAdapterFor

    • Typed view of discreteAdapter for a known value type — the single stateless instance is returned, nothing is constructed. Use it when the discrete payload has a real type (ValueAdapter<"idle" | "run">) and the unknown of the shared instance would infect the call site.

      Type Parameters

      • T

      Returns ValueAdapter<T>