Update pull-pushable to have error callback

This commit is contained in:
Jaco Greeff 2018-09-04 12:49:12 +02:00
parent 14540f3432
commit 120c92fcb8

View File

@ -10,7 +10,7 @@ export type Pushable = {
push: (buffer: Buffer) => void
};
export type PullPushable = () => Pushable;
export type PullPushable = (errorHandler?: (error: Error) => void) => Pushable;
const pushable: PullPushable;