remove duplicate descriptions

This commit is contained in:
Jerry Kurian
2019-09-09 15:58:35 -04:00
parent 7aeea4815a
commit 83ef6e9734
23 changed files with 21 additions and 129 deletions

View File

@@ -1,8 +1,3 @@
/**
* Return a Promise resolving to the last streamed chunk of the given readable stream, after it has
* ended
* @param readable Readable stream to wait on
*/
export function last<T>(readable: NodeJS.ReadableStream): Promise<T | null> {
let lastChunk: T | null = null;
return new Promise((resolve, _) => {