From a1e0ebd658d6f973ab0d522b7406b46c07c224fc Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 29 Sep 2020 15:51:05 +0000 Subject: [PATCH] fix(core): update --- ts/typedrequest.classes.typedrequest.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/typedrequest.classes.typedrequest.ts b/ts/typedrequest.classes.typedrequest.ts index 78d1ece..181af24 100644 --- a/ts/typedrequest.classes.typedrequest.ts +++ b/ts/typedrequest.classes.typedrequest.ts @@ -7,6 +7,9 @@ export type IPostMethod = ( ) => void | Promise; export class TypedRequest { + /** + * this typedrouter allows us to have easy async request response cycles + */ public typedRouterRef: TypedRouter; public webrequest = new plugins.webrequest.WebRequest(); @@ -59,6 +62,7 @@ export class TypedRequest; + // having a typedrouter allows us to work with async request response cycles. if (this.typedRouterRef) { responseInterest = await this.typedRouterRef.fireEventInterestMap.addInterest( payload.correlation.id,