Loadable
A generic state manager
Loadable is a simple state manager that helps you to better handle asynchronous operations
How it works
You can deliver your publisher events to a publisher with Loadable output type
@Published var data: Loadable<Data> = .idle
  
func fetchData() {
    service
        .getSomeData()
        .mapToLoadable()
        .assign(to: &$data)
}