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 real-life use cases it is a common occurrence to expect an event OR a rejection of a certain type after posting a command.
With the current API, we can observe multiple command results simultaneously by calling the CommandRequest.observe(...) method multiple times, but this process is verbose and inconvenient.
While for Java client, where we have a slightly different API, this would not be as straightforward/beneficial, in our JS client we could add a method like:
In real-life use cases it is a common occurrence to expect an event OR a rejection of a certain type after posting a command.
With the current API, we can observe multiple command results simultaneously by calling the
CommandRequest.observe(...)
method multiple times, but this process is verbose and inconvenient.While for Java client, where we have a slightly different API, this would not be as straightforward/beneficial, in our JS client we could add a method like:
which would allow behavior like:
A code construction like this would be much less complicated and verbose than what we need to implement now to achieve the same purpose.
The text was updated successfully, but these errors were encountered: