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
Thanks for the great update of implementing intrerrupt and Command resume, I have integrated these features in my app, but found it unclear to figure out whether the instance is interrupted.
currently I'm using next node for check
const nextNode = (await flowInstance.getState(config)).next;
if (Array.isArray(nextNode) && nextNode.length > 0) {
// do something
}
and I find the test case is using number of tasks on state for check
Thanks for the great update of implementing intrerrupt and Command resume, I have integrated these features in my app, but found it unclear to figure out whether the instance is interrupted.
currently I'm using next node for check
and I find the test case is using number of tasks on state for check
Both should work but not good I think, can we have a property like isInterrupted or interruption: true, that would be more friendly to use
The text was updated successfully, but these errors were encountered: