src/restart.js
Method restart
Restarts the instance
Returns an Object
(TurtleIO instance)
TurtleIO
.
prototype
.
restart
=
function
()
{
var
config
=
this
.
config
;
this
.
stop
().
start
(
config
);
return
this
;
};
Method restart
Restarts the instance
Returns an Object
(TurtleIO instance)