Skip to content

Correct way to abort waiting in waitFor? #4457

Answered by Andarist
crishoj asked this question in Q&A
Discussion options

You must be logged in to vote

Waiting for both states that you are interested in ('Ready' and 'Moving.Failure') sounds like a very good solution if you want to stick with waitFor. Alternatively, in v5 you will be able to send self together with your 'MOVE' event and the recipient should be able to "respond" later directly to your "requester" - so you wouldn't even need to use waitFor. YMMV though.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@crishoj
Comment options

@crishoj
Comment options

@davidkpiano
Comment options

@imsasa
Comment options

Answer selected by crishoj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants