Hi,
Am 03.04.2013 21:26, schrieb Doug Tangren:
> Work around if your stuck, just call `map(identity)` on the promise
>
> // dispatch 0.9.5 won't apply handler unless results of promise are
> mapped over http(request > handler).map(identity)
>
> This forces dispatch to register the listener associated with the
> request handler.
I just ran into this as well and unfortunately this workaround doesn't
work for me... situation doesn't change, even when doing map(identity).
As I don't have the time right now to check for possible
incompatiblities with newer dispatch versions, I ended up doing
val res = Http(...)
future {
res.apply()
}
Veeeery ugly, though...
Tobias