UNPKG

323 BJavaScriptView Raw
1'use strict';
2
3const _ = require('lodash');
4
5class Service {
6 constructor(options, context) {
7 this.options = _.defaults(options || {}, this.defaultOptions);
8 this.context = context || {};
9 }
10
11 get defaultOptions() {
12 return {};
13 }
14
15 dispose() {
16 return Promise.resolve();
17 }
18}
19
20module.exports = Service;