Skip to content

Commit

Permalink
feat: add Subscription
Browse files Browse the repository at this point in the history
Ref #1468
  • Loading branch information
popomore committed Oct 19, 2017
1 parent 68c0e1a commit eda5bde
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ exports.Controller = require('./lib/core/base_context_class');
exports.Service = require('./lib/core/base_context_class');

/**
* @member {Service} Egg#BaseContextClass
* @member {Subscription} Egg#Subscription
* @since 1.10.0
*/
exports.Subscription = require('./lib/core/base_context_class');

/**
* @member {BaseContextClass} Egg#BaseContextClass
* @since 1.2.0
*/
exports.BaseContextClass = require('./lib/core/base_context_class');
1 change: 1 addition & 0 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe('test/index.test.js', () => {
'BaseContextClass',
'Controller',
'Service',
'Subscription',
'startCluster',
]);
});
Expand Down

0 comments on commit eda5bde

Please sign in to comment.