InterfacesIDestroyableOn this pageIDestroyableInterfaceMethodsdestroyClean up (destroy) any subscriptions, intervals, or other resources that this IDestroyable instance has.Signaturedestroy() => voidReturnsvoid