// Begin initiates tracking with a specific value for a given identifier
Begin initiates tracking with a specific value for a given identifier
// Begin initiates tracking with a specific value for a given identifier
func (fsm *migratedFsm) Begin(id interface{}, userState interface{}) error {
	if err := fsm.ms.ReadyError(); err != nil {
		return err
	}
	return fsm.fsm.Begin(id, userState)
}
func ( fsm * migratedFsm ) Begin ( id interface { } , userState interface { } ) error { if err := fsm . ms . ReadyError ( ) ; err != nil { return err } return fsm . fsm . Begin ( id , userState ) }
Begin initiates tracking with a specific value for a given identifier
Begin initiates tracking with a specific value for a given identifier