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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use >!< where possible #4

Closed
fsommar opened this issue Jan 18, 2017 · 0 comments
Closed

Use >!< where possible #4

fsommar opened this issue Jan 18, 2017 · 0 comments

Comments

@fsommar
Copy link
Owner

fsommar commented Jan 18, 2017

mkBoxOf(new Message(some, arguments)) { packed =>
  implicit val acc = packed.access
  sender ! packed.box
}

has now been mostly superseded by >!<. However, it's only used in these types of fire-and-forget scenarios, and as soon as the user requires more expressiveness they have to fall back to the previous version. The above send would look like the following, using >!<:

sender >!< new Message(some, arguments)

Clearly a large win in convenience!

fsommar added a commit that referenced this issue Jan 18, 2017
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