mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-04-05 03:41:04 +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 = {
|
export type Handshake = {
|
||||||
handshake: {
|
handshake: {
|
||||||
|
abort: () => void;
|
||||||
read: (length: number, cb: (error: Error, buffer: Buffer) => void) => void;
|
read: (length: number, cb: (error: Error, buffer: Buffer) => void) => void;
|
||||||
write: (buffer: Buffer) => void;
|
write: (buffer: Buffer) => void;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user