Commit 50fa1d0
committed
refactor: enhance listenChannel function and update notification handling
- Refactored the listenChannel function to accept an object of event handlers instead of separate parameters, improving flexibility and readability.
- Updated the RealtimeProvider to use the new handler structure for invalidating notification queries upon receiving new notifications.1 parent 329bc8a commit 50fa1d0
2 files changed
Lines changed: 4 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 31 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 32 | | |
48 | 33 | | |
49 | 34 | | |
| |||
0 commit comments