Skip to content

What exactly does defer do? #515

Answered by ankushdesai
bnmoch3 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bnmoch3
Comment options

@ankushdesai
Comment options

@bnmoch3
Comment options

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