method-combinators
method-combinators copied to clipboard
Wow do we decorate a synchronous method with an asynchronous decoration?
We can use async(fn) to create asynchronous decorations, but we are assuming that the method being decorated is asynchronous. We need a way to decorate the underlying method if we want todo something like perform a remote authentication synchronously.