Commit 5d7a05c
committed
Prepare handing over of sync callback via update function to be phased out
Currently the callback for a 'onSync' event is passed via update function. Since the signature of this sync function 'void(*fn)(void)' is not compatible with the cloud event sync function signature 'void(*fn)(void *)' it can not be registered via 'addCallback' as a normal cloud event sync function. Since the future way of adding callbacks is done via the 'addCallback' function we prepare the update functions in the wway shown in this commit for removing the capability of adding a sync callback function in the near future.1 parent 3274a5b commit 5d7a05c
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
90 | 96 | | |
91 | 97 | | |
92 | 98 | | |
| |||
0 commit comments