Giter Site home page Giter Site logo

Comments (1)

mattpodwysocki avatar mattpodwysocki commented on August 18, 2024

whirly wrote Nov 28, 2013 at 3:20 PM

Just see the source code comments:

            //
            // BREAKING CHANGE v2.0 > v1.x - No longer escalating exceptions using a throwing
            //                               helper thread.
            //
            // Our manual escalation based on the creation of a throwing thread was merely to
            // expedite the process of throwing the exception that would otherwise occur on the
            // finalizer thread at a later point during the app's lifetime.
            //
            // However, it also prevented applications from observing the exception through
            // the TaskScheduler.UnobservedTaskException static event. Also, starting form .NET
            // 4.5, the default behavior of the task pool is not to take down the application
            // when an exception goes unobserved (done as part of the async/await work). It'd
            // be weird for Rx not to follow the platform defaults.
            //
            // General implementation guidelines for schedulers (in order of importance):
            //
            //    1. Always thunk through to the underlying infrastructure with a wrapper that's as tiny as possible.
            //    2. Global exception notification/handling mechanisms shouldn't be bypassed.
            //    3. Escalation behavior for exceptions is left to the underlying infrastructure.
            //
            // The Catch extension method for IScheduler (added earlier) allows to re-route
            // exceptions at stage 2. If the exception isn't handled at the Rx level, it
            // propagates by means of a rethrow, falling back to behavior in 3.
            //

from reactive.

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.