Skip to content

Repository files navigation

Loadable

A generic state manager

Loadable is a simple state manager that helps you to better handle asynchronous operations

CI

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)
}

About

A generic state manager compatible with Combine

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages