Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

[2.x] Dispatch events on actions #556

Merged
merged 8 commits into from
Sep 26, 2020
Merged

[2.x] Dispatch events on actions #556

merged 8 commits into from
Sep 26, 2020

Conversation

rennokki
Copy link
Collaborator

@rennokki rennokki commented Sep 26, 2020

Added events dispatch on various actions throughout the server (like new connections, channel subscriptions, etc.) that can be easily handled by the Laravel events observers outside the server, now that the async queue driver exists and can be used for listeners to avoid any blocking I/O.

@rennokki rennokki changed the base branch from master to 2.x September 26, 2020 17:58
@rennokki rennokki merged commit a7c505e into 2.x Sep 26, 2020
@rennokki rennokki deleted the feature/dispatched-events branch September 26, 2020 19:02
@Fenslau
Copy link

Fenslau commented Mar 29, 2022

Can you please explain how to use this?
I cant find it in documentation.
What should i do to catch for ex. event of message and do something (for. ex write to DB)?

@alikoza
Copy link

alikoza commented Oct 27, 2023

yes, it is completely mystery how to use this.. there is no any documentation available. it is weird that laravel/websockets does not provide server level WebSocket connection control like new connection or disconnection and etc..

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

Successfully merging this pull request may close these issues.

None yet

3 participants