constructor({resources = {}, queue, resourcesConfig = []} = {}) {
        this.queue = queue;
        this.resourcesConfig = resourcesConfig;
        this.data = resources;

        this.listeners = [];
    }
@param {Object} options
@param {Object} [options.resources] - resources to initialize with instead of fetching them from the database
@param {Object} [options.queue] - instance of the Queue class
@param {Object[]} [options.resourcesConfig] - resource config used when handling resource events and fetching