He-Pin opened a new issue, #596:
URL: https://github.com/apache/incubator-pekko/issues/596

   The current statefulmap only update the `needInvokeOnCompleteCallback` after 
the `onComplete(state)` been called successfully.
   And this can be a problem when you use it to implement something like 
`mapWithResource` where the undering thing can not be called twice.
   
   A quick fix should be set the `needInvokeOnCompleteCallback` to false before 
call `onComplete`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to