Reply To: Implement two interfaces in action class

NodeCanvas Forums General Discussion Implement two interfaces in action class Reply To: Implement two interfaces in action class

#9189
Gavalakis
Keymaster

Hey,

What kind of error do you get if you implement the interface on a Task?
Doing so you can Subscribe the task to the message bus in OnInit. Unfortuntaly though right now there is no good spot to Unsubscribe it (I’m working on this).

In any case though, I still think that the way you are doing it is the best approach since that will make the status run in parallel of anything that your tree might be doing. For this particular case it seems fine to me, but please let me know what kind of errors you get by implementing it in a Task.
Cheers

Join us on Discord: https://discord.gg/97q2Rjh