Snippets tagged try finally

  • Async.TryFinally and an application

    F# computation expressions do not allow monadic expressions inside `finally` clauses. If we allow ourselves a bit of ugliness this can be circumvented by using a combinator. Here's an implementation for asynchronous workflows and a small application.

    3 people like this

    Posted: 9 years ago by Eirik Tsarpalis