Trait of objects that can report their memory usage.

interface MemoryUsage {
    isMemoryUsage: true;
    getMemoryUsage(context: GetMemoryUsageContext): void;
}

Hierarchy (view full)

Implemented by

Properties

Methods

Properties

isMemoryUsage

Readonly flag to indicate that his object implements MemoryUsage.

Methods