You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we want to inherit the extension, can the on_cmd method of the extension have a return value? Otherwise, it will be difficult to handle in the parent class. The subclass can't determine whether the parent class has already processed the command, and if it hasn't, based on the current logic, there must be a return result as a fallback. Otherwise, the thread will get stuck.
We need to consider the meaning of the return value in the current situation where it's not in the base class/child class.
The text was updated successfully, but these errors were encountered:
If we want to inherit the extension, can the
on_cmd
method of the extension have a return value? Otherwise, it will be difficult to handle in the parent class. The subclass can't determine whether the parent class has already processed the command, and if it hasn't, based on the current logic, there must be a return result as a fallback. Otherwise, the thread will get stuck.We need to consider the meaning of the return value in the current situation where it's not in the base class/child class.
The text was updated successfully, but these errors were encountered: