concept nutshell in category .net

appears as: nutshell
Concurrency in .NET

This is an excerpt from Manning's book Concurrency in .NET.

In the nutshell, Rx is a set of extensions built for the IObservable<T> and IObserver<T> interfaces that provide a generalized mechanism for push-based notifications based on the Observer pattern from the Gang of Four (GoF) book.

The F# AsyncResult.handler is a powerful operator that dispatches the execution flow in case of error. In a nutshell, the AsyncResult.handler runs the Async.Catch function in the background for error handling and uses the ofChoice function to map the product of the computation (Choice<Choice1Of2, Choice2Of2> Discriminated Union) to the Result<'a> DU cases, which then branch the result of the computation respectively to the OK or Error union. (ofChoice was introduced in chapter 9.)