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
constworker=Finity.configure().initialState('ready').on('task_submitted').transitionTo('running').state('running')// here I have the context.eventPayload// but if I want to inside the worker gerate a data to use in another state?.do((state,context)=>processTaskAsync(context.eventPayload)).onSuccess().transitionTo('succeeded').onFailure().transitionTo('failed').onTimeout(1000).transitionTo('timed_out').global().onStateEnter(state=>console.log(`Entering state '${state}'`)).start();
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: