Coder Social home page Coder Social logo

Comments (2)

uehaj avatar uehaj commented on July 17, 2024

thanks for your response.
The reason is, i met a serious problem that is difficult to solve.
When execute takeLatest or takeEvery effects following sequence runs

(1) a saga yields takeLatest/takeEvery effect with an ACTION name which is expected to be receive.
(2) In the support library, yields a fork effect.
(3) Runtime initiate an isolate which is expected to receive the ACTION.
(4) initiated isolate starts to wait to receive the ACTION.

If another saga(Isolate) yields a put action between (1) to (3), it is missed.
The time rug are not so small to ignore(ti takes some handled milli secs).
Probably introduce some queue-wise something solves this, but it may gain performance overheads.

I started to thinks that is it better to implement with async way? not use Isolate.
Probably you know at Dart 2.0.0-dev 55, isolate support on browser(dart2js) are removed.
That is another reason to suspend development.
any ideas are welcome,
thx

from dart-saga.

lovestorymeetsvivalavida avatar lovestorymeetsvivalavida commented on July 17, 2024

Got it,thanks!

from dart-saga.

Related Issues (1)

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.