mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-16 18:20:50 +00:00
Add abort to pull-handshake
This commit is contained in:
parent
bd937b9987
commit
4031d13eb6
1
types/pull-handshake/index.d.ts
vendored
1
types/pull-handshake/index.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user