PHP OpenSwoole HTTP Server - Async/Sync Events Part 2
1 year ago
2
9 minutes of PHP OpenSwoole HTTP Server
Let's Refactor the Event Structure of our App!
Source: https://github.com/lotharthesavior/sample-swoole/tree/50d466e95d7ef76382bbb110109b5297afab99b9
Previous part: https://youtu.be/yPCEFL0UWgY
- Events
At this video we go over the previous video's Events implementation and refactor it to address limitations and to simplify it. We also go ahead and implement sync events.
Limitations addressed:
- listener parameter types: now we accept complex objects instead of just strings
- execute listener callback on demand instead of using an infinite loop
Loading comments...
-
3:57
Michael Heaver
19 hours agoEU Makes BIZARRE Threat Against UK
15.9K6 -
11:46
RealitySurvival
8 hours agoRussia Issues Dire Warning! Tac Nukes Are On The Table!
14.9K14 -
4:20:36
SNEAKO
6 hours agoSNEAKO X MYRON DESKTOP
89.7K64 -
2:25:29
Price of Reason
14 hours agoDisney TUMBLES, Gamers Win BIG, Superman DISAPPOINTS, NEW Game of Thrones Spinoff w/ Dreadroberts
18.8K -
LIVE
Jerry After Dark
10 hours agoJerry After Dark: Boston Jerathon
948 watching -
2:11:40
Kim Iversen
10 hours agoRUMBLE BAN ALERT: Russia Cracks down on Free Speech | Israel PISSES OFF Egypt and US After Rafah Border Seizure
62.4K140 -
8:03:54
Akademiks
9 hours agoBreaking: Drake House Shot Up by Goons. Kendrick Lamar Got another Coming?? Drake finna SPIN BACK?
92.8K75 -
1:26:23
The Anthony Rogers Show
19 hours agoEpisode 306 - Theresa Cheung
33.6K4 -
1:25:45
Glenn Greenwald
12 hours agoTikTok Constitutionally Challenges Forced Sale, Lawmakers Exploit Holocaust to Feed Moral Panic over Antisemitism; PLUS: The Ozempic Craze with author Johann Hari | SYSTEM UPDATE #268
83.8K152 -
2:20:16
WeAreChange
11 hours agoAstraZeneca Covid Shot Recalled Worldwide! Rushed Gene Therapy Revealed!
65.9K65