Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Explain how to send a message to a specific node in the documentation #38

Open
Hywan opened this issue Apr 16, 2015 · 6 comments
Open

Comments

@Hywan
Copy link
Member

Hywan commented Apr 16, 2015

Hello :-),

This is the second or third time someone asks “How to send a message to a specific node”, on the support ML, IRC or even comments. I think we should update the documentation ;-).

@thehawk970
Copy link

Like here #53

@Hywan
Copy link
Member Author

Hywan commented Sep 29, 2015

@camael24 👍

@mspmakk
Copy link

mspmakk commented Nov 2, 2015

Hello Hywan,

As u say send a message to a specific node use " broadcastIf " method.

but my question is what should i have to pass in to the first argument in that method.
broadcastIf ( \Closure $predicate, $message ){...}
I didn't get any idea about it.
sorry i'm new to this library.

thanks,

@Hywan
Copy link
Member Author

Hywan commented Nov 2, 2015

@mspmakk Hi! What do you want to do exactly?

@mspmakk
Copy link

mspmakk commented Nov 2, 2015

I am working on some notification updates module.
When I post some thing then other related user (friends) should get notified.

In short send some data to particular user.
so i though that it should be possible through " broadcastIf " method.

@Pierozi
Copy link
Member

Pierozi commented Oct 3, 2016

@mspmakk I think your issues is this one, and i never solved the PR past 2 years ago 😞
Pierozi/Socket@60bd4b4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants