remove duplicate descriptions
This commit is contained in:
@@ -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, _) => {
|
||||
|
||||
Reference in New Issue
Block a user