Gets object url as string
Is this object destroyed?
Gets object url as URL object
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
TODO: Use in all places where manually setting up pair things
TODO: Use in all places where manually setting up the listeners
Creates ObjectUrl DO NOT forget to call destroy() when you are done with it
Creates ObjectUrl:
DO NOT forget to call destroy() when you are done with it
Create registration from a subscription
function that will create subscription
registration that when destroyed will unsubscribe from the subscription
Chcek whether the given object is destroyable
Join multiple registrations into one
one registration that will be destroyed when this one is destroyed
Creates a registration that is empty and has nothing to destroy Note: This is useful for implementing null object pattern
Converts Blob, File or MediaSource to url using URL.createObjectURL