Add abort to pull-handshake

This commit is contained in:
Jaco Greeff 2018-09-14 14:02:35 +02:00
parent bd937b9987
commit 4031d13eb6

View File

@ -12,6 +12,7 @@ type Options = {
export type Handshake = {
handshake: {
abort: () => void;
read: (length: number, cb: (error: Error, buffer: Buffer) => void) => void;
write: (buffer: Buffer) => void;
}