Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • If you go with #2, is there any problem with the operation serving two purposes? Commented Aug 4, 2020 at 4:40
  • 1
    What would happen in #2 if the decision does take a long time (e.g. the client needs to ask a human operator who happens to be away from the computer) and the connection times out? Commented Aug 4, 2020 at 7:25
  • @BartvanIngenSchenau it's not suppose to take a long time and human operator should not be involved. i'm thinking timeout handling would be the same between #1 and #2 where we need to fall back to some default action, say reject. Commented Aug 4, 2020 at 18:45
  • @CJL do you mean the callback serve as both a notification and demand a response as two purposes? Commented Aug 4, 2020 at 18:46