Type alias Instance<T>

Instance<T>: [T] extends [LiveMap<infer U>]
    ? LiveMapInstance<U>
    : [T] extends [LiveCounter]
        ? LiveCounterInstance
        : [T] extends [Primitive]
            ? PrimitiveInstance<T>
            : AnyInstance<T>

Instance wraps a specific object instance or entry in a specific collection object instance. The type parameter specifies the underlying type of the instance, and is used to infer the correct set of methods available for that type.

Type Parameters

Generated using TypeDoc