Event.php 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. namespace Swoole;
  3. class Event
  4. {
  5. /**
  6. * @return mixed
  7. */
  8. public static function add($fd, ?callable $read_callback, ?callable $write_callback = null, $events = null)
  9. {
  10. }
  11. /**
  12. * @return mixed
  13. */
  14. public static function del($fd)
  15. {
  16. }
  17. /**
  18. * @return mixed
  19. */
  20. public static function set($fd, ?callable $read_callback = null, ?callable $write_callback = null, $events = null)
  21. {
  22. }
  23. /**
  24. * @return mixed
  25. */
  26. public static function isset($fd, $events = null)
  27. {
  28. }
  29. /**
  30. * @return mixed
  31. */
  32. public static function dispatch()
  33. {
  34. }
  35. /**
  36. * @return mixed
  37. */
  38. public static function defer(callable $callback)
  39. {
  40. }
  41. /**
  42. * @return mixed
  43. */
  44. public static function cycle(?callable $callback, $before = null)
  45. {
  46. }
  47. /**
  48. * @return mixed
  49. */
  50. public static function write($fd, $data)
  51. {
  52. }
  53. /**
  54. * @return mixed
  55. */
  56. public static function wait()
  57. {
  58. }
  59. /**
  60. * @return mixed
  61. */
  62. public static function rshutdown()
  63. {
  64. }
  65. /**
  66. * @return mixed
  67. */
  68. public static function exit()
  69. {
  70. }
  71. }