Does 'assign(to:)' produce memory leaks?

It would be really nice to be able to pass a weak self into Assign like so:

subscription = $input
        .filter { $0.count > 0 }
        .map { "\($0) World!" }
        .assign(to: \.output, on: weak self) // or [weak self]
5 Likes