Open
Description
I've noticed that the function NewContinueAsNewError(ctx, ...)
will not take into consideration that the context it was given was canceled.
I couldn't find this behavior documented anywhere and on slack the suggestion was that this should not happen and to create an issue here.
Would it make sense that if the workflow was canceled (and so the context), NewContinueAsNewError()
propagated that CanceledError instead of creating a new error?