wwt / SwiftCurrent

A library for managing complex workflows in Swift
https://wwt.github.io/SwiftCurrent/
Apache License 2.0
308 stars 19 forks source link

When returning to workflow launch object, know if said workflow was abandoned or completed successfully #5

Closed laughingMan closed 3 years ago

laughingMan commented 3 years ago

Is your feature request related to a problem? Please describe. When a workflow finishes, we have no way of knowing if the workflow was abandoned or completed

Describe the solution you'd like We want a way to know if a workflow was abandoned or completed

Describe alternatives you've considered Flagy

Additional context Add any other context or screenshots about the feature request here.

Tyler-Keith-Thompson commented 3 years ago

Knowing whether a workflow was abandoned or completed would need very explicit language. The issue here is that Workflows don't fundamentally replace UIKit or SwiftUI. So if you dismiss a view controller the abandon closure would not get called. How would you want to interact with something that simply notified you of the abandon() method being called?

morganzellers commented 3 years ago

Closing this issue due to inactivity - please reopen in the future if interested in a solution