Giter Club home page Giter Club logo

processed's Introduction

Hi there ๐Ÿ‘‹,

My name is Dennis and I am a software engineer based in Germany with a focus on iOS development.

processed's People

Contributors

elisabethra avatar swiftedmind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tinora

processed's Issues

Evaluate timeout functionality

It would be nice to have the option to set a timeout for a process or loadable.

Steps

  • Investigate
  • Build prototype
  • Implement
  • Add examples
  • Add Unit Tests
  • Update Readme

Add `events` AsyncStream to `@Loadable`

  • Add a closure that is run when the process or loadable has finished/loaded. This can be useful to clean up state.
  • Maybe make it a onTermination closure with an argument that describes why it was terminated (success, error, timeout, ...)
  • Might also be useful to have this for onStart

Maybe not a parameter, but rather an AsyncStream you can subscribe to in your view. Then it wouldn't clutter up the methods even further. That stream should also pass in the process ID.

Add a 'compactMap'-Function to 'LoadableState'

A 'compactMap'-Function would help with scenarios like transforming an array of entries to a single entry where it is not sure whether the desired specific entry is really in the array of entries.

Assume a loadable list of points of interests:

`var pois: LoableState<[POI]>

var aPOI: LoadableState {
pois.compactMap { pois in
pois.first { $0.id == poiId }
}
}
`
This scenario comes up with respect to deep linking for instance.

Two way data binding

Hello,

How can you use Binding(two way data communication) with this library from view model.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.