Skip to content

What exactly does defer do? #515

Answered by ankushdesai
bnm3k asked this question in Q&A
Oct 21, 2022 · 1 comments · 3 replies
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
@bnm3k
Comment options

@ankushdesai
Comment options

@bnm3k
Comment options

Answer selected by bnm3k
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