HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/share/nodejs/undici/types/
Upload File :
Current File : //proc/self/root/usr/share/nodejs/undici/types/balanced-pool.d.ts
import Pool from './pool'
import Dispatcher from './dispatcher'
import { URL } from 'url'

export default BalancedPool

declare class BalancedPool extends Dispatcher {
  constructor(url: string | URL | string[], options?: Pool.Options);

  addUpstream(upstream: string): BalancedPool;
  removeUpstream(upstream: string): BalancedPool;
  upstreams: Array<string>;

  /** `true` after `pool.close()` has been called. */
  closed: boolean;
  /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
  destroyed: boolean;
}