What exactly does defer
do?
#515
-
What does defer do? I couldn't get much details in the docs. My assumption is that rather than drop/ignore an event, it queues it back with the requirement that it should only be popped off the queue when in any other state other than the current one |
Beta Was this translation helpful? Give feedback.
Answered by
ankushdesai
Oct 21, 2022
Replies: 1 comment 3 replies
-
Defer basically defers the dequeue of that event until it is non-deferred in a state. The position of the event does not change in the input buffer. Each dequeue event goes over the queue from the front and removes the first event that is not deferred, keeping rest of the queue unchanged. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
bnmoch3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Defer basically defers the dequeue of that event until it is non-deferred in a state. The position of the event does not change in the input buffer. Each dequeue event goes over the queue from the front and removes the first event that is not deferred, keeping rest of the queue unchanged.