Coder Social home page Coder Social logo

Comments (7)

mxcl avatar mxcl commented on June 17, 2024

Promises are not similar to a reactive framework. Promises are for one time operations, combine is for continuous changes from model to data layer. I don’t see them having any overlap. PromiseKit will exist until Swift gets an async language feature.

from ama.

flowtoolz avatar flowtoolz commented on June 17, 2024

Thanks for the answer :)

I thought where the overlap might come is that Combine would be able to handle those one shot callbacks as well, like through this: https://developer.apple.com/documentation/combine/publishers/future

from ama.

mxcl avatar mxcl commented on June 17, 2024

Didn’t know about that. Well maybe PMK is dead then. Each individual user can make their own decision.

from ama.

flowtoolz avatar flowtoolz commented on June 17, 2024

PMK is certainly not dead. I feel it's simpler, easier to write, more pleasant to read, more focused and comes from its own angle. I'm just curious how both could complement each other. Maybe it makes sense to build Combine extensions for Promises, or the other way around, I have neither your depth of knowledge nor conceptual overview on this...

from ama.

rizwan95 avatar rizwan95 commented on June 17, 2024

Thanks for the answer :)

I thought where the overlap might come is that Combine would be able to handle those one shot callbacks as well, like through this: https://developer.apple.com/documentation/combine/publishers/future

The link is dead

from ama.

flowtoolz avatar flowtoolz commented on June 17, 2024

Thanks for the answer :)
I thought where the overlap might come is that Combine would be able to handle those one shot callbacks as well, like through this: https://developer.apple.com/documentation/combine/publishers/future

The link is dead lol :P

https://developer.apple.com/documentation/combine/future

from ama.

cristiancardosodexcom avatar cristiancardosodexcom commented on June 17, 2024

Promises are not similar to a reactive framework. Promises are for one time operations, combine is for continuous changes from model to data layer. I don’t see them having any overlap. ### PromiseKit will exist until Swift gets an async language feature.

https://docs.swift.org/swift-book/LanguageGuide/Concurrency.html

from ama.

Related Issues (20)

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.