You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In module lagom-server, there is one line of mapFuture like:
inMemoryBodyParser(playRequestHeader).mapFuture {
... // code is omitted
}
The same operation in play, mapFuture is with ec.prepare() which like:
parser(rh).mapFuture {
... // code is omitted
}(ExecCtxUtils.prepare(executionContext))
Can lagom obey the same behavior with play? Context is that I'm doing a ContextPropagating which like a RequestContext in asynchronous environment. And mapFuture without ec.preprare() makes it impossible.
The text was updated successfully, but these errors were encountered:
In module
lagom-server
, there is one line ofmapFuture
like:inMemoryBodyParser(playRequestHeader).mapFuture { ... // code is omitted }
The same operation in play,
mapFuture
is withec.prepare()
which like:Can lagom obey the same behavior with play? Context is that I'm doing a
ContextPropagating
which like aRequestContext
in asynchronous environment. AndmapFuture
withoutec.preprare()
makes it impossible.The text was updated successfully, but these errors were encountered: