Trait of objects that can report their memory usage.

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

Implemented by

Properties

Methods

Properties

isMemoryUsage

Readonly flag to indicate that his object implements MemoryUsage.

Methods