We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I was going through the code.
I have questions regarding the code in this file:
src/main/scala/tshrdlu/util/bridge.scala
Events like below are handled by which actor?
def onDeletionNotice(notice: StatusDeletionNotice) = actor ! notice def onStallWarning(warning: StallWarning) = actor ! warning
For example:
Instead of
def onTrackLimitationNotice(int: Int) = actor ! TrackLimitationNotice(int)
This would have worked fine too. def onTrackLimitationNotice(int: Int) { /* Purposefully left Empty */ }
Is there something that I am missing? Good Practice, maybe?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I was going through the code.
I have questions regarding the code in this file:
src/main/scala/tshrdlu/util/bridge.scala
Events like below are handled by which actor?
def onDeletionNotice(notice: StatusDeletionNotice) = actor ! notice
def onStallWarning(warning: StallWarning) = actor ! warning
For example:
Instead of
def onTrackLimitationNotice(int: Int) = actor ! TrackLimitationNotice(int)
This would have worked fine too.
def onTrackLimitationNotice(int: Int) { /* Purposefully left Empty */ }
Is there something that I am missing?
Good Practice, maybe?
The text was updated successfully, but these errors were encountered: