miquido / futura

Asynchronous Swift made easy. The project was made by Miquido. https://www.miquido.com/
Apache License 2.0
33 stars 3 forks source link

Add Variable #26

Closed kaqu closed 5 years ago

kaqu commented 5 years ago

Variable should be a new type or modification of Signals that provides error-free stream of changes done on given variable. It should also reproduce last value on subscription.

kaqu commented 5 years ago

Need to check if Variable fits current tools design. It is possible using Future and Signal flatMaps to cache state and use them as Variable substitute.

KaQuMiQ commented 5 years ago

It should not be part of this library. Maybe we should revisit it in future, but for now it is out of scope.