toolkit
A toolkit containing functions that help with standard smartersockets tasks
##Getting Started
npm install @smarterservices/toolkit
###Constructor:
var toolkit = require('@smarterservices/toolkit');
var kit = new toolkit({socket:socket}};
Note socket in config is where you pass your entire smarterservices socket
##Methods
###changeState
description: Used to publish to a listener telling them to change state.
Arguments
topic
: topic of the listenerstate
: The state to change to.
exam-view
conversation-view
Example
kit.changeState(topic,state);
###examStatus
Invoked when you need to actually change the status of the exam.
Arguments
topic
: topic of the listenerstatus
: The status to change the exam to.
Example
kit.examStatus(topic,status);