Add comment

This commit is contained in:
RMidhunSuresh 2021-11-23 18:15:22 +05:30
parent 885abc59be
commit 8387215efd

View file

@ -23,6 +23,7 @@ export class HomeServerRequest {
// todo: Shouldn't log be of type ILogItem; but ILogItem does not have finish method // todo: Shouldn't log be of type ILogItem; but ILogItem does not have finish method
private readonly _log?: LogItem; private readonly _log?: LogItem;
private _sourceRequest?: RequestResult; private _sourceRequest?: RequestResult;
// as we add types for expected responses from hs, this could be a generic class instead
private readonly _promise: Promise<any>; private readonly _promise: Promise<any>;
constructor(method: string, url: string, sourceRequest: RequestResult, log?: LogItem) { constructor(method: string, url: string, sourceRequest: RequestResult, log?: LogItem) {