What would be the recommended approach for handling a timeout error from a ChildWorkflow added as a Future? Would we just check for a TimeoutError in the Future’s handler or should we add a Timer as a Future that will handle it after X amount of time has passed?
If you just want to get notified about the child timeout, then waiting for the error from the Future is the right approach.
@maxim thank you for the reply! Would it still be the recommended approach if I intend to trigger a cleanup task once I identify that error as a TimeoutError?
If cleanup is executed by the parent then the answer is yes.