new manager(barista_location, namespace, user_token, engine, mode)

A manager for handling the AJAX and registry. Initial take from {module:bbop-rest-manager}.

Parameters

Name Type Optional Description

barista_location

String

 

string for invariant part of API

namespace

String

 

string for namespace of API to use

user_token

String

 

identifying string for the user of the manager (Barista token)

engine

Object

 

Remote resource manager client to use (must be an instantiated {module:bbop-rest-manager} engine)

mode

String

 

whether or not to have utility methods (most besides fetch_with and start_with be in); options are "sync" and "async", which correspond to internally using fetch and start respectively

Returns

manager a classic manager