CLASS Lifetime¶ Represents the lifetime of an object. Once ended, the onEnded closure is called. Properties¶ hasEnded¶ Methods¶ onEnded(_:)¶ Hook to clean-up after end of lifetime. deinit¶