Is this object destroyed?
Binds new registration with itself. This registration/destroyable will be destroyed with this.
Checks, whether the object is not destroyed
Message that will replace default one before error
Callback runed before error is thrown; typically this can be some logging
Chcek whether the given object is destroyable
Make a function cacheable.
Note: If the result will be null or Promise, result will not be cached
Warning: Use only for pure functions.