UNPKG

yamux-js

Version:

[![npm version](https://badge.fury.io/js/yamux-js.svg)](https://www.npmjs.com/package/yamux-js) [![Build status](https://img.shields.io/github/actions/workflow/status/th-ch/yamux-js/node.js.yml?branch=master)](https://github.com/th-ch/yamux-js) [![GitHub

17 lines (16 loc) 484 B
export interface Config { acceptBacklog?: number; enableKeepAlive?: boolean; keepAliveInterval?: number; connectionWriteTimeout?: number; maxStreamWindowSize?: number; logger?: typeof console.log; } export declare const defaultConfig: { acceptBacklog: number; enableKeepAlive: boolean; keepAliveInterval: number; connectionWriteTimeout: number; maxStreamWindowSize: number; logger: (message?: any, ...optionalParams: any[]) => void; };