v10: TreeController, clarify sync/async methods #12567
JoseMarcenaro
started this conversation in
Features and ideas
Replies: 1 comment
-
Ideally the sync methods would have been removed in v10 and the async ones be abstract instead of virtual, perhaps one for v11 now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There are two versions of the

GetTreeNodes
andGetMenuForNode
methods.I assume implementing the async version is the recommended way to go - in fact, in v9 the sync methods were flagged as [Obsolete("Use the async version instead")].
In v10, the Obsolete attribute has been removed from the sync methods... and they both need to be implemented because the methods are abstract.
So my question is: what are the async methods used for? Are they even invoked? If so, why keep forcing the sync ones as abstract?
Thanks in advance,
Jose
Beta Was this translation helpful? Give feedback.
All reactions