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
Too confusing and ugly.
Couple alternatives. this is the current way.
func ping { need $msg %send("PONG :" + $msg.params[-1]) }
Passing the object as a normal argument
func ping { need $msg, $conn $conn.send("PONG :" + $msg.params[-1]) }
Using _self and a requirement for the special variable *self
_self
*self
func ping { need *self: Connection, $msg @send("PONG :" + $msg.params[-1]) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Too confusing and ugly.
Couple alternatives. this is the current way.
Passing the object as a normal argument
Using
_self
and a requirement for the special variable*self
The text was updated successfully, but these errors were encountered: