Skip to content
New issue

Have a question about this project?Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of serviceand privacy statement.We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if!startupMessageQueue.isEmpty #21

Open
gubikmicopened this issue May 21, 2019 · 0 comments
Open

if!startupMessageQueue.isEmpty #21

gubikmicopened this issue May 21, 2019 · 0 comments

Comments

@gubikmic
Copy link

Hi, I'm probably missing something, but in the case that!startupMessageQueue.isEmpty,you append tostartupMessageQueuebut then I miss where that message gets picked up and dispatched eventually.

private func queue(message: Message) {
if startupMessageQueue.isEmpty {
dispatch(message: message)
} else {
startupMessageQueue.append(message)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant