// Stop stops all state machines in this group
Stop stops all state machines in this group
// Stop stops all state machines in this group
func (fsm *migratedFsm) Stop(ctx context.Context) error {
	if err := fsm.ms.ReadyError(); err != nil {
		return err
	}
	return fsm.fsm.Stop(ctx)
}
func ( fsm * migratedFsm ) Stop ( ctx context . Context ) error { if err := fsm . ms . ReadyError ( ) ; err != nil { return err } return fsm . fsm . Stop ( ctx ) }
Stop stops all state machines in this group
Stop stops all state machines in this group