Interface Shareable

interface Shareable {
    addRef?(): number;
    release?(): number;
}

Hierarchy (view full)

Implemented by

Methods

  • Increments the reference count of an Shareable instance.

    Returns number

    The new reference count. This value is intended to be used only for testing purposes.

  • Decrements the reference count of an Shareable instance.

    Returns number

    The new reference count. This value is intended to be used only for testing purposes.