I'm updating my app to use the latest release of TCA. I was using the version before "callback" was changed to "subscriber".
Previously there was this initializer for Effect:
public init(_ work: @escaping () -> Output) {
self = Deferred { Just(work()) }.eraseToEffect()
}
This is gone and I don't see a direct replacement, something doing Deferred { Just....
I'm curious why this initializer is no longer supported and what the recommended replacement is. Thanks!