fix(core): update

This commit is contained in:
2021-04-19 12:12:48 +00:00
parent ea6c514a40
commit 17eda1e56a
2 changed files with 28 additions and 2 deletions

View File

@ -78,4 +78,15 @@ export class SmartArchive {
intake.signalEnd();
return replaySubject;
}
/**
* extracts to Observable
*/
public async extractArchiveFromUrlToObservable(
urlArg: string
): Promise<plugins.smartrx.rxjs.ReplaySubject<plugins.smartfile.Smartfile>> {
const response = await plugins.smartrequest.getBinary(urlArg);
const replaySubject = this.extractArchiveFromBufferToObservable(response.body);
return replaySubject;
}
}