Multiples sends on the same onMessage
Hello guys! I would like to do make someting like this:

onMessage:


        foreach ($this->clients as $client) {
            if ($from === $client) {
                $client->send($msg);
                sleep(10);
                $client->send('Anything');
            }
        }

And in my client browser: 

[20/09/2019 15:49:10]: Response of message1
//20s after...
[20/09/2019 15:49:20]: Response of message1

But I get:

[20/09/2019 15:49:20]: Response of message1
[20/09/2019 15:49:20]: Response of message1

It's possible?