• Eduardo Sanz García's avatar
    Add a `Destroyable` inteface · cd2db0a7
    Eduardo Sanz García authored
    The purpose of this interface is to highlight developers that in order
    to cleanly get ride of the classes that implement the interface, they
    need to call the `destroy` method.
    
    This interface doesn't actually enforce calling `destroy`, but hopefully
    makes the omission more notorious.
    cd2db0a7
adder.js 11.3 KB