Type alias Ref<T>

Ref<T>: {
    count: number;
    object: T;
}

Wrap a type to be reference counted Useful for when we need to garbage collect data

Type Parameters

  • T

Type declaration

  • count: number
  • object: T

Generated using TypeDoc