File tree Expand file tree Collapse file tree 4 files changed +4
-68
lines changed
Expand file tree Collapse file tree 4 files changed +4
-68
lines changed Original file line number Diff line number Diff line change 3333 "ejson" : " ^2.2.2" ,
3434 "eventemitter3" : " ^4.0.7" ,
3535 "express" : " ^4.17.1" ,
36- "fibers" : " ^5.0.0" ,
3736 "jaeger-client" : " ^3.18.1" ,
3837 "mem" : " ^8.1.1" ,
3938 "moleculer" : " ^0.14.14" ,
5150 "@types/cookie-parser" : " ^1.4.2" ,
5251 "@types/ejson" : " ^2.1.3" ,
5352 "@types/express" : " ^4.17.13" ,
54- "@types/fibers" : " ^3.1.1" ,
5553 "@types/mongodb" : " ^3.6.19" ,
5654 "@types/node" : " ^14.17.4" ,
5755 "@types/ws" : " ^7.4.7" ,
Original file line number Diff line number Diff line change 1- import { IServiceContext } from './types/ServiceClass' ;
1+ import { AsyncLocalStorage } from 'async_hooks' ;
2+
23import { proxify , proxifyWithWait } from './lib/proxify' ;
34import { IAuthorization } from './types/IAuthorization' ;
5+ import { IServiceContext } from './types/ServiceClass' ;
46import { IPresence } from './types/IPresence' ;
57import { IAccount } from './types/IAccount' ;
68import { ILicense } from './types/ILicense' ;
@@ -14,7 +16,6 @@ import { IRoomService } from './types/IRoomService';
1416import { IMediaService } from './types/IMediaService' ;
1517import { IAnalyticsService } from './types/IAnalyticsService' ;
1618import { ILDAPService } from './types/ILDAPService' ;
17- import { ContextStore } from './lib/ContextStore' ;
1819
1920// TODO think in a way to not have to pass the service name to proxify here as well
2021export const Authorization = proxifyWithWait < IAuthorization > ( 'authorization' ) ;
@@ -35,4 +36,4 @@ export const LDAP = proxifyWithWait<ILDAPService>('ldap');
3536// of service/method not available
3637export const EnterpriseSettings = proxify < IEnterpriseSettings > ( 'ee-settings' ) ;
3738
38- export const asyncLocalStorage = new ContextStore < IServiceContext > ( ) ;
39+ export const asyncLocalStorage = new AsyncLocalStorage < IServiceContext > ( ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments