FeedbackFunctions

api/feedback. FeedbackFunctions

new FeedbackFunctions()

Source:

Provides FeedbackFunctions. Each FeedbackFunction is a method of the singleton instance FeedbackFunctions.
Each FeedbackFunction accepts a studentID and updates the FeedbackInstanceCollection based upon the current state
of the student. Normally, the FeedbackFunction will first delete any FeedbackInstances it previously created
for that student (if any), then add new ones if appropriate.

Note that FeedbackFunctions call Meteor Methods to define and delete FeedbackInstances, so these functions must
be called on the client side.

Example
import { FeedbackFunctions } from '../feedback/FeedbackFunctions';
  :
FeedbackFunctions.recommendedCoursesThisSemesterByInterest(studentID);