Maciej Szajna

Results 16 comments of Maciej Szajna

Also interested in this. Manifold's rationale is to help libraries stay unopinionated about concrete async abstraction. It works reasonably well for libraries consuming async objects. For libraries that produce them...

Thanks @mac01021. I assume you'd want to actually return `fut`. I understand the transformation is easy enough to implement yourself. The library would have been much nicer to use if...

@barkanido unlike Manifold, Promesa does not introduce any new types. Instead, it provides a Clojure API around the `CompletableFuture` (on JVM). Assume you're wrapping a non-blocking Java library. If it...

Here's a [gist](https://gist.github.com/mszajna/7d5d7ed8924dd62f84a981c6fc18ed1c) with conversions between 3-arity and this proposal. There's also an adapter for middleware allowing one to code against this proposal across entire stack, not just at the...

Experience developing [await-cps](https://github.com/mszajna/await-cps) suggests it's not that simple. The code that executes as a part of `respond` logically happens _after_ the handler has 'returned'. Having exceptions bubble back to the...

Your reply sounds a little bit dismissive. I'm under the impression that, going with continuations, Ring is trying to avoid choosing an abstraction for asynchronous processing, but I believe that,...

> What alternative design for asynchronous handlers did you have in mind? This perhaps deserves a separate issue but I'm going to try to be brief. Other platforms foster correctness...

> The Jetty adapter displays a 500 error response in either case, whether through raise or by throwing an exception within the calling thread. I'm confused why you think the...

> My initial impression is that CF does not look particularly straightforward Conceptually CF is equivalent to JS Promise that a lot of developers are familiar with. The API is...

> A leaky but simple abstraction may be preferred over a watertight but complex one. The way I understand it, leakiness _is_ what makes abstractions complex. When you're forced to...